17.05.2016, 18:55
I am getting this error,i am unable to fix it.
D:\michaelwcrp\WCRP.pwn(1293) : error 035: argument type mismatch (argument 1)
D:\michaelwcrp\WCRP.pwn(1293) : error 035: argument type mismatch (argument 1)
Код:
CMD:v(playerid, params[]) { new Text[300]; if(GetPVarInt(playerid,"DonateRank") >= 1) { if(sscanf(params, "s[300]", Text)) return SendClientMessage(playerid, 0xFFFFFF, "USAGE: /v text"); for(new i=0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(GetPVarInt(i,"DonateRank") >= 1) { new str[350]; format(str, sizeof(str), "[VIP CHAT] %s Says: %s", GetName(playerid), Text); SendClientMessage(i, 0xFFFFFF, str); } } } } else SendClientMessage(playerid, 0xFFFFFF, "You dont have any donator rank"); return 1; }