Checkpoint problem
#1

so i am trying to make a checkpoint at every rcon admin but it doesn't work :S here is the command :

Код:
dcmd_admins(playerid,params[])
{
#pragma unused params
SetTimerEx("AdminCheck",1000,1,"i",playerid);
return 1;
}
forward AdminCheck(playerid);
public AdminCheck(playerid)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(IsPlayerAdmin(i))
{
new Float:X,Float:Y,Float:Z; GetPlayerPos(i,X,Y,Z);
CreateCheckpoint(playerid,X,Y,Z,3,10);
}
}
}
return 1;
}
i wish anyone out there know how to solve it
Reply


Messages In This Thread
Checkpoint problem - by aircombat - 05.06.2010, 01:20
Re: Checkpoint problem - by Kar - 05.06.2010, 01:28
Re: Checkpoint problem - by Nero_3D - 05.06.2010, 01:44
Re: Checkpoint problem - by CuervO - 05.06.2010, 01:46
Re: Checkpoint problem - by aircombat - 05.06.2010, 11:46
Re: Checkpoint problem - by DJDhan - 05.06.2010, 11:53
Re: Checkpoint problem - by aircombat - 05.06.2010, 12:32
Re: Checkpoint problem - by ViruZZzZ_ChiLLL - 05.06.2010, 15:29

Forum Jump:


Users browsing this thread: 8 Guest(s)