error 035: argument type mismatch (argument 3)
#2

Remove users[] on line 035
Код:
CMD:ad(playerid, 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;
}
Good luck
Reply


Messages In This Thread
error 035: argument type mismatch (argument 3) - by UserIndonesia - 03.07.2013, 05:46
Re: error 035: argument type mismatch (argument 3) - by niconhan - 03.07.2013, 05:57

Forum Jump:


Users browsing this thread: 2 Guest(s)