Guest User

CheckPoint - CountDown Help

a guest
Jan 30th, 2013
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1.  
  2. public OnPlayerSpawn(playerid)
  3. {
  4. SetPlayerCheckpoint(playerid, 1774.2595,-1740.9799,54.5687, 3.0);
  5. StopAudioStreamForPlayer(playerid);
  6. GivePlayerMoney(playerid, PocketMoney);
  7. SetPlayerInterior(playerid,0);
  8. SetPlayerRandomSpawn(playerid);
  9. TogglePlayerClock(playerid,1);
  10. return 1;
  11. }
  12.  
  13. public OnPlayerEnterCheckpoint(playerid)
  14. {
  15. TogglePlayerControllable(playerid,0);
  16. DisablePlayerCheckpoint(playerid);
  17. return 1;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment