23.10.2011, 13:45
I think im using the wrong checkpoint as it shows a red blip on the minimap but nothing on the ground im after the small one not the massive on also it ist spawning me into the car.
Код:
public OnFilterScriptInit() { CreateDynamicCP(1017.3148, -929.1449, 420.1316, 3, 0, 0, -1, 100.0); CreateDynamicCP(1946.0314, -1921.3646, 584.5061, 3, 0, 0, -1, 100.0); CreateDynamicCP(1017.3148, -929.1449, 420.1316, 3, 0, 0, -1, 100.0); return 1; }
Код:
} COMMAND:start(playerid, params[]) { if( IsPlayerInRangeOfPoint( playerid, 7.0, 1017.3148, -929.1449, 420.1316 ) ) // change the '1, 2, 3' to the coords for bigjump 1 (example) { SetPlayerVirtualWorld(playerid, 1); PutPlayerInVehicle(playerid, 411, 0); // when the player is at bigjump 1, do this } if( IsPlayerInRangeOfPoint( playerid, 7.0, 1946.0314, -1921.3646, 584.5061 ) ) // change the '4, 5, 6' to the coords for bigjump 2 (example) { SetPlayerVirtualWorld(playerid, 2); PutPlayerInVehicle(playerid, 411, 0); } if( IsPlayerInRangeOfPoint( playerid, 7.0, 2312.9204, 986.5928, 501.5012 ) ) // change the '7, 8, 9' to the coords for driftplace 137 (example) { SetPlayerVirtualWorld(playerid, 3); PutPlayerInVehicle(playerid, 411, 0); } return 1; }