- เครดิต
- 66
- ความรู้
-
- เงิน $
-
- ความดี
-
|
--------------------------------------------------------------------------------------------------------------------------------------------------------------
if(strcmp(cmd, "/swatopen" , true) == 0)// เเก้คำสั่งเอานะ
if(PlayerInfo[playerid][pMember] == 30 || PlayerInfo[playerid][pLeader] == 30 || IsACop(playerid))//เลข 30 คือหลีดที่เปิดได้
MoveObject(atkgate,,-1496.62646484,951.83245850,10.96089172,2.5);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string),* %s ได้กดรีโมทเปิดประตู, sendername);
ProxDetector(10.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
else
{
SendClientMessage(playerid, COLOR_GREY,คุณไม่สามารถเปิดได้);
}
return 1;
}
------------------------------------------------------------------------------------------------------------------------------------------------------------
- ส่วนอันนี้คือ Warning เเละ Error -
E:\Sever Gta San\gamemodes\LiveArmy.pwn(25969) : warning 217: loose indentation
E:\Sever Gta San\gamemodes\LiveArmy.pwn(25973) : error 029: invalid expression, assumed zero
E:\Sever Gta San\gamemodes\LiveArmy.pwn(25975) : error 029: invalid expression, assumed zero
E:\Sever Gta San\gamemodes\LiveArmy.pwn(25975) : error 029: invalid expression, assumed zero
E:\Sever Gta San\gamemodes\LiveArmy.pwn(25975) : error 029: invalid expression, assumed zero
E:\Sever Gta San\gamemodes\LiveArmy.pwn(25975) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.
|
|