Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stock NovaPozicijaV(playerid, Float:aaX, Float:aaY, Float:aaZ)
- {
- if(!IsPlayerConnected(playerid)) return 1;
- if(!IsPlayerInAnyVehicle(playerid)) return JBC_SetPlayerPos(playerid, aaX, aaY, aaZ);
- JBC_SetVehiclePos(GetPlayerVehicleID(playerid), aaX, aaY, aaZ);
- return 1;
- }
- /////////////////////////////////////////////////////////////////////////////
- stock h_SetPlayerCheckpoint(playerid, Float:aaX, Float:aaY, Float:aaZ, Float:radius)
- {
- CheckpointX[playerid] = aaX;
- CheckpointY[playerid] = aaY;
- CheckpointZ[playerid] = aaZ;
- CheckpointR[playerid] = radius;
- IgracevCPPrikazan[playerid] = true;
- SetPlayerCheckpoint(playerid, aaX, aaY, aaZ, radius);
- return 1;
- }
- ///////////////////////////////////////////////////////////////////////////////
- stock h_DisablePlayerCheckpoint(playerid)
- {
- CheckpointX[playerid] = 0.0000;
- CheckpointY[playerid] = 0.0000;
- CheckpointZ[playerid] = 0.0000;
- CheckpointR[playerid] = 0.0000;
- IgracevCPPrikazan[playerid] = false;
- return DisablePlayerCheckpoint(playerid);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement