06.04.2010, 21:03
hey guys! i've been making a getping command, but iget a warning saying number of arguments didn't match definition:
heres lines:
if(strcmp(cmdtext, "/ping", true) == 0)
{
SendClientMessage(playerid, COLOR_YELLOW, "Your Current Ping Is %d",GetPlayerPing(playerid));
return 1;
}
what's wrong?
thanks
heres lines:
if(strcmp(cmdtext, "/ping", true) == 0)
{
SendClientMessage(playerid, COLOR_YELLOW, "Your Current Ping Is %d",GetPlayerPing(playerid));
return 1;
}
what's wrong?
thanks