01.10.2014, 09:53
when a player enter a checkpoint for a shop or anything do that:
first, at the top of ur script put that:
now when a player enter checkpoint of a shop or something:
now when a player enter an exit checkpoint:
first, at the top of ur script put that:
pawn Код:
new Float:B4MX[MAX_PLAYERS],Float:B4MY[MAX_PLAYERS],Float:B4MZ[MAX_PLAYERS];
pawn Код:
GetPlayerPos(playerid,B4MX[playerid],B4MY[playerid],B4MZ[playerid]);
//rest of the code
pawn Код:
SetPlayerPos(playerid,B4MX[playerid],B4MY[playerid],B4MZ[playerid]);
//REST OF THE CODE