25.12.2009, 08:14
Hello i was wondering if this command would work i made it on my comp without samp installed so idk its supposed to check the person who types in the command in their ping its a silly cmd but i need someone to test it here it is :
help me and if this dosent work send back a working one please!!!
thanks! Crodox RP A.K.A Cody Beer
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/ping", cmdtext, true, 10) == 0)
{
GetPlayerPing(playerid);
SendClientMessage(playerid, 0, "Your Ping Is %d");
}
return true;
}
thanks! Crodox RP A.K.A Cody Beer