04.03.2009, 16:07
I fixed it for you, and deleted a lot of crap from it >.>
It compiled, but I haven\'t tested it....
pawn Code:
#include <a_samp>
#define FILTERSCRIPT
#if defined FILTERSCRIPT
new Float:x, Float:y, Float:z;
public OnFilterScriptInit()
{
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
#else
#endif
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/getallplayers", true) == 0)
{
for(new i=0; i<MAX_PLAYERS; i++)
{
GetPlayerPos(playerid,x,y,z);
if(IsPlayerConnected(i))
{
SetPlayerPos(i,x,y,z+10);
}
}
return 1;
}
return 0;
}

