warning 202: number of arguments does not match definition
#1

pawn Код:
CMD:kill(playerid,params[])
{
new Name[MAX_PLAYER_NAME];
SetPlayerHealth(playerid,0.0);
SendClientMessage(playerid,COLOR_WHITE,"You have killed yourself");
SendClientMessageToAll(COLOR_WHITE,"%s Has killed himself",Name);//line with warning
return 1;
}
my warning is:warning 202: number of arguments does not match definition i dont see anything wrong with it.
Reply
#2

I do -> SendClientMessageToAll, try format
Reply
#3

Quote:
Originally Posted by Nero_3D
Посмотреть сообщение
a string worked fine
thanks, repped
Reply
#4

Message deleted ^^..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)