[FilterScript] [FS] Simple /getallplayers
#6

No, it wont. You did NOT define x, y and z

Code:
public OnPlayerCommandText(playerid, cmdtext[])
{
  if(strcmp(cmdtext, "/getallplayers", true) == 0) 
  {
    for(new i=0; i<MAX_PLAYERS; i++)
    {
     if(IsPlayerConnected(i)) 
     {
       GetPlayerPos(playerid,x,y,z);
       SetPlayerPos(i,x,y,z+10);
     }
    }
    return 1;
  }
  return 0;
}
So where is the
Code:
new Float:x, Float:y, Float:z;
??
Reply


Messages In This Thread
[FS] Simple /getallplayers - by popben - 04.03.2009, 09:03
Re: [FS] Simple /getallplayers - by Dujma - 04.03.2009, 09:08
Re: [FS] Simple /getallplayers - by Sandra18[NL] - 04.03.2009, 11:56
Re: [FS] Simple /getallplayers - by IVuljak - 04.03.2009, 12:05
Re: [FS] Simple /getallplayers - by popben - 04.03.2009, 12:10
Re: [FS] Simple /getallplayers - by Sandra18[NL] - 04.03.2009, 12:13
Re: [FS] Simple /getallplayers - by popben - 04.03.2009, 12:16
Re: [FS] Simple /getallplayers - by Sandra18[NL] - 04.03.2009, 12:19
Re: [FS] Simple /getallplayers - by Rks25 - 04.03.2009, 13:43
Re: [FS] Simple /getallplayers - by MenaceX^ - 04.03.2009, 13:58
Re: [FS] Simple /getallplayers - by x-cutter - 04.03.2009, 14:25
Re: [FS] Simple /getallplayers - by Weirdosport - 04.03.2009, 16:07
Re: [FS] Simple /getallplayers - by NigNog1 - 04.03.2009, 16:11
Re: [FS] Simple /getallplayers - by Weirdosport - 04.03.2009, 18:16
Re: [FS] Simple /getallplayers - by Rks25 - 04.03.2009, 19:10
Re: [FS] Simple /getallplayers - by Nimphious - 04.03.2009, 19:23
Re: [FS] Simple /getallplayers - by Magician - 04.03.2009, 19:36
Re: [FS] Simple /getallplayers - by Rks25 - 04.03.2009, 20:32
Re: [FS] Simple /getallplayers - by Weirdosport - 04.03.2009, 22:26

Forum Jump:


Users browsing this thread: 1 Guest(s)