number of arguments
#4

//EDIT: too slow :/

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]

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;
                    }
you forgot the "string" in SendClientMessageEx
Reply


Messages In This Thread
number of arguments - by warlord321 - 21.12.2013, 15:51
Re: number of arguments - by BlackWolf120 - 21.12.2013, 15:54
Re: number of arguments - by Konstantinos - 21.12.2013, 15:55
Re: number of arguments - by CutX - 21.12.2013, 15:56

Forum Jump:


Users browsing this thread: 2 Guest(s)