10.06.2012, 07:19
pawn Code:
if(strcmp("/stopcar", cmdtext, true, 10) == 0)
{
if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
{
new string[256];
new sendername[MAX_PLAYER_NAME];
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "*Federal Member %s is ordering you to stop you'r car.", sendername);
ProxDetector(45.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
else
{
SendClientMessage(playerid, WHITE, "("COL_RED"Greska{FFFFFF}!) You are not federal member!");
}
return 1;
}
I got 7 errors