02.01.2014, 20:50
i Want Move Checkpoints SF police HQ To LV police HQ
see all this to move checkpoints
see photo i want change to lv 
see all this to move checkpoints

Quote:
//Checkpoint defines #define CP_SFPDEnt 0 #define CP_SFPDExit 1 |
Quote:
//Variables new Float:checkCoords[MAX_POINTS][4] = { {-1623.6704,710.2758,-1595.5138,726.3750}, //SFPDEnt {233.7716,107.9433,259.8581,122.0880}, //SFPDExit |
Quote:
new Float:checkpoints[MAX_POINTS][4] = { {-1605.5288,712.4097,13.8714,3.0}, //SFPDEnt {246.4093,109.0884,1003.2188,3.0}, //SFPDExit |
Quote:
new checkpointType[MAX_POINTS] = { CP_SFPDEnt, CP_SFPDExit, |
Quote:
public OnPlayerEnterCheckpoint(playerid) { if(getCheckpointType(playerid) == CP_SFPDEnt) { if(IsPlayerInAnyVehicle(playerid)) { SendClientMessage(playerid,COLOR_ERROR,"You must exit your vehicle before entering a checkpoint."); return 1; } SetPlayerInterior(playerid,10); SetPlayerPos(playerid,246.8460,114.5714,1003.218 ![]() SetPlayerFacingAngle(playerid,359.8049); SetCameraBehindPlayer(playerid); return 1; } if(getCheckpointType(playerid) == CP_SFPDExit) { if(IsPlayerInAnyVehicle(playerid)) { SendClientMessage(playerid,COLOR_ERROR,"You must exit your vehicle before entering a checkpoint."); return 1; } SetPlayerInterior(playerid,0); SetPlayerPos(playerid,-1604.8246,718.6995,11.8512); SetPlayerFacingAngle(playerid,7.1270); SetCameraBehindPlayer(playerid); return 1; } |

