24.08.2011, 21:10
pawn Код:
#include a_samp
forward pickuptimer();
public OnGameModeInit()
{
pickuptimer = SetTimer("pickuptimer", 3000, false);
return 1;
}
public pickuptimer()
{
if(IsPlayerInRangeOfPoint(playerid, Float:range, Float:x, Float:y, Float:z))
{
SetPlayerPos(playerid; x,y,z);
}
return 1;
}