08.02.2010, 05:21
everytime i compile this
i get
this i know its in GetPlayerName under new string[64]; if anyone can find out why i get this prob it would be great
Код:
if (strcmp("/afk", cmdtext, true, 10) == 0)
{
new string[64];
format(string, sizeof(string), "%d Is AFK Do not kill him/her!", GetPlayerName(playerid, string));
TogglePlayerControllable(playerid, 1);
SendClientMessageToAll(COLOR_GREEN, string);
return 1;
}
Код:
C:\Users\Windows Vista\sampserver\gamemodes\bare.pwn(84) : warning 202: number of arguments does not match definition Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Warning.

