SA-MP Forums Archive
A little help from my friends? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: A little help from my friends? (/showthread.php?tid=84133)



A little help from my friends? - dkorolenchuk - 28.06.2009

public OnGameModeInit() i have
Код:
CreateObject(18552, -1981.885986, 881.869263, 44.190384, 0.0000, 0.0000, 269.7592);
public OnPlayerSpawn(playerid) i have
Код:
SetPlayerCheckpoint(playerid, -1990.0458,884.0585,45.2031, 3.0);
Then i have this at the bottom of my script
Код:
public OnPlayerEnterCheckpoint(playerid)
{
  SetPlayerPos(playerid,286.148986,-40.644397,1001.515625);
  SetPlayerInterior(playerid, 1);
  return 1;
}
But when i go into red marker nothing happens,does anyone know what im doing wrong?

I want someone to enter checkpoint and end up inside the ammunation