A question about checkpoints.
#4

Use PVars

Код:
SetPVarInt(playerid, "CheckpointStatus", 1);
GetPVarInt(playerid, "CheckpointStatus")
DeletePvar(playerid, "CheckpointStatus"); // when you want to set it to 0
server destroys PVar when player disconnected.

Tutorial: https://sampwiki.blast.hk/wiki/Per-player_variable_system
Reply


Messages In This Thread
A question about checkpoints. - by itaialroy - 01.11.2015, 20:34
Re: A question about checkpoints. - by jamesbond007 - 01.11.2015, 20:45
Re: A question about checkpoints. - by Kevln - 01.11.2015, 20:49
Re: A question about checkpoints. - by Omer. - 01.11.2015, 21:02
Re: A question about checkpoints. - by PrO.GameR - 01.11.2015, 21:22

Forum Jump:


Users browsing this thread: 1 Guest(s)