lil problem
#4

Quote:
Originally Posted by Steven82
Quote:
Originally Posted by pmk1
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
Sorry for my language why in the fuck would you need this!!! JUst press "Tab" and it tell you!
......
_________________________________________________
You need to format your text. To save your time, i've made the code for you.

pawn Код:
if(!strcmp(cmdtext, "/ping", true)) {
   new array[26];
   format(array, sizeof(array), "Your current ping is %d", GetPlayerPing(playerid));
   SendClientMessage(playerid, COLOR_YELLOW, array);
   return 1;
}
Reply


Messages In This Thread
lil problem - by pmk1 - 06.04.2010, 21:03
Re: lil problem - by Steven82 - 06.04.2010, 21:06
Re: lil problem - by aircombat - 06.04.2010, 21:12
Re: lil problem - by Carlton - 06.04.2010, 21:14
Re: lil problem - by pmk1 - 06.04.2010, 21:39
Re: lil problem - by Steven82 - 06.04.2010, 22:56
Re: lil problem - by pmk1 - 07.04.2010, 20:45

Forum Jump:


Users browsing this thread: 2 Guest(s)