Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnPlayerRequestClass(playerid, classid)
- {
- SetPlayerPos(playerid,0,0,3000);
- PlayerPlaySound(playerid,1185,0,0,0);
- if(classid == 0) {
- SetPlayerCameraLookAt(playerid, 1323.005493, 1291.518554, 10.820312);
- SetPlayerCameraPos(playerid, 1323.005493 + (25 * floatsin(-158.420806, degrees)), 1291.518554 + (25 * floatcos(-158.420806, degrees)), 16.820312);
- GameTextForPlayer(playerid,"Las Venturas Pilot",5000,5);
- } else if(classid == 1) {
- SetPlayerCameraLookAt(playerid, 2025.763061, -2461.386962, 13.546875);
- SetPlayerCameraPos(playerid, 2025.763061 + (25 * floatsin(-313.040618, degrees)), -2461.386962 + (25 * floatcos(-313.040618, degrees)), 19.546875);
- GameTextForPlayer(playerid,"Los Santos Pilot",5000,5);
- } else if(classid == 2) {
- SetPlayerCameraLookAt(playerid, -1308.901611, 89.554306, 14.148437);
- SetPlayerCameraPos(playerid, -1308.901611 + (25 * floatsin(-291.902130, degrees)), 89.554306 + (25 * floatcos(-291.902130, degrees)), 20.148437);
- GameTextForPlayer(playerid,"San Fierro Pilot",5000,5);
- } else if(classid == 3) {
- GameTextForPlayer(playerid,"Area 69",5000,5);
- SetPlayerCameraLookAt(playerid, 320.253082, 2031.899658, 17.640625);
- SetPlayerCameraPos(playerid, 320.253082 + (25 * floatsin(-324.634033, degrees)), 2031.899658 + (25 * floatcos(-324.634033, degrees)), 23.640625);
- } else if(classid == 4) {
- SetPlayerCameraLookAt(playerid, 2285.792968, 603.842102, 10.820312);
- SetPlayerCameraPos(playerid, 2285.792968 + (25 * floatsin(-332.752929, degrees)), 603.842102 + (25 * floatcos(-332.752929, degrees)), 16.820312);
- GameTextForPlayer(playerid,"Rescue Team",5000,5);
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement