03.07.2013, 05:46
I Put This Code In My PWN
Error:
Help Me To Fix This Line Thanks
Код:
CMD:ad(playerid, users[], params[]) { new giveplayerid,string[128]; if (sscanf(params, "u", giveplayerid)) return Inter_SendClientMessage(playerid, COLOR_LIGHTBLUE, "USAGE: /ad [text]"); if(IsPlayerInRangeOfPoint(playerid, 3,1689.76624, -1344.26697, 17.13734)){ GivePlayerMoney(playerid, -5000); format(string, sizeof(string), "[ADVERTISEMENT] %s, Contact %s ", params, users); Inter_SendClientMessageToAll(COLOR_RED,string); GameTextForPlayer(playerid, "~w~Advertisement ~n~~w~Price:~g~$5000", 4321,1); } return 1; }
Код:
error 035: argument type mismatch (argument 3)