21.12.2013, 15:56
//EDIT: too slow :/
[/pawn]
you forgot the "string" in SendClientMessageEx
pawn Код:
if(PlayerInfo[playerid][pRank] < 3 && PlayerInfo[playerid][pMember] != 2)
{
format(string, sizeof(string), "HQ: %s has destroyed a cone.", GetPlayerNameEx(playerid));
SendClientMessageEx(playerid, COLOR_BLUE,string);//hereproblem
}
pawn Код:
if(PlayerInfo[playerid][pRank] < 3 && PlayerInfo[playerid][pMember] != 2)
{
format(string, sizeof(string), "You need to be at least rank 3 to use this command.", GetPlayerNameEx(playerid));
SendClientMessageEx(playerid, COLOR_BLUE, string); //hereproblem
return 1;
}