Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new Interior[MAX_PLAYERS] = -1;
- OnPlayerKeyStateChange
- if ((newkeys & KEY_JUMP) && (newkeys & KEY_HANDBRAKE)) {
- if (!IsPlayerAdmin(playerid)) return 1;
- Interior[playerid]++;
- if (Interior[playerid] == 1) {
- GameTextForPlayer(playerid, "24/7 1 Shop", 2500, 4);
- SetPlayerPos(playerid,-25.884498,-185.868988,1003.546875);
- SetPlayerInterior(playerid, 17);
- }
- if (Interior[playerid] == 2) {
- GameTextForPlayer(playerid, "24/7 2 Shop", 2500, 4);
- SetPlayerPos(playerid,6.091179,-29.271898,1003.549438);
- SetPlayerInterior(playerid, 10);
- }
- if (Interior[playerid] == 3) {
- GameTextForPlayer(playerid, "24/7 3 Shop", 2500, 4);
- SetPlayerPos(playerid,-30.946699,-89.609596,1003.546875);
- SetPlayerInterior(playerid, 18);
- }
- if (Interior[playerid] == 4) {
- GameTextForPlayer(playerid, "24/7 4 Shop", 2500, 4);
- SetPlayerPos(playerid,-25.132598,-139.066986,1003.546875);
- SetPlayerInterior(playerid, 16);
- }
- if (Interior[playerid] == 5) {
- GameTextForPlayer(playerid, "24/7 5 Shop", 2500, 4);
- SetPlayerPos(playerid,-27.312299,-29.277599,1003.557250);
- SetPlayerInterior(playerid, 4);
- }
- if (Interior[playerid] == 6) {
- GameTextForPlayer(playerid, "24/7 6 Shop", 2500, 4);
- SetPlayerPos(playerid,-26.691598,-55.714897,1003.546875);
- SetPlayerInterior(playerid, 6);
- }
- if (Interior[playerid] == 7) {
- GameTextForPlayer(playerid, "Airport ticket desk", 2500, 4);
- SetPlayerPos(playerid,-1827.147338,7.207417,1061.143554);
- SetPlayerInterior(playerid, 14);
- }
- if (Interior[playerid] == 8) {
- GameTextForPlayer(playerid, "Airport baggage reclaim", 2500, 4);
- SetPlayerPos(playerid,-1861.936889,54.908092,1061.143554);
- SetPlayerInterior(playerid, 14);
- }
- if (Interior[playerid] == 9) {
- GameTextForPlayer(playerid, "Shamal", 2500, 4);
- SetPlayerPos(playerid,1.808619,32.384357,1199.593750);
- SetPlayerInterior(playerid, 1);
- }
- if (Interior[playerid] == 10) {
- GameTextForPlayer(playerid, "Andromada", 2500, 4);
- SetPlayerPos(playerid,315.745086,984.969299,1958.919067);
- SetPlayerInterior(playerid, 9);
- }
- if (Interior[playerid] == 11) {
- GameTextForPlayer(playerid, "Ammunation 1", 2500, 4);
- SetPlayerPos(playerid,286.148986,-40.644397,1001.515625);
- SetPlayerInterior(playerid, 1);
- }
- if (Interior[playerid] == 12) {
- GameTextForPlayer(playerid, "Ammunation 2", 2500, 4);
- SetPlayerPos(playerid,286.800994,-82.547599,1001.515625);
- SetPlayerInterior(playerid, 4);
- }
- if (Interior[playerid] == 13) {
- GameTextForPlayer(playerid, "Ammunation 3", 2500, 4);
- SetPlayerPos(playerid,296.919982,-108.071998,1001.515625);
- SetPlayerInterior(playerid, 6);
- }
- if (Interior[playerid] == 14) {
- GameTextForPlayer(playerid, "Ammunation 4", 2500, 4);
- SetPlayerPos(playerid,314.820983,-141.431991,999.601562);
- SetPlayerInterior(playerid, 7);
- }
- if (Interior[playerid] == 15) {
- GameTextForPlayer(playerid, "Ammunation 5", 2500, 4);
- SetPlayerPos(playerid,316.524993,-167.706985,999.593750);
- SetPlayerInterior(playerid, 6);
- }
- if (Interior[playerid] == 16) {
- GameTextForPlayer(playerid, "Ammunation booths", 2500, 4);
- SetPlayerPos(playerid,302.292877,-143.139099,1004.062500);
- SetPlayerInterior(playerid, 7);
- }
- if (Interior[playerid] == 17) {
- GameTextForPlayer(playerid, "Ammunation range", 2500, 4);
- SetPlayerPos(playerid,298.507934,-141.647048,1004.054748);
- SetPlayerInterior(playerid, 7);
- }
- if (Interior[playerid] == 18) {
- GameTextForPlayer(playerid, "Blastin fools hallway", 2500, 4);
- SetPlayerPos(playerid,1038.531372,0.111030,1001.284484);
- SetPlayerInterior(playerid, 3);
- }
- if (Interior[playerid] == 19) {
- GameTextForPlayer(playerid, "Budget inn motel room", 2500, 4);
- SetPlayerPos(playerid,316.524993,-167.706985,999.593750);
- SetPlayerInterior(playerid, 12);
- }
- if (Interior[playerid] == 20) {
- GameTextForPlayer(playerid, "Jefferson motel", 2500, 4);
- SetPlayerPos(playerid,2215.454833,-1147.475585,1025.796875);
- SetPlayerInterior(playerid, 15);
- }
- if (Interior[playerid] == 21) {
- GameTextForPlayer(playerid, "Off track betting shop", 2500, 4);
- SetPlayerPos(playerid,833.269775,10.588416,1004.179687);
- SetPlayerInterior(playerid, 3);
- }
- if (Interior[playerid] == 22) {
- GameTextForPlayer(playerid, "Sex shop", 2500, 4);
- SetPlayerPos(playerid,-103.559165,-24.225606,1000.718750);
- SetPlayerInterior(playerid, 3);
- }
- if (Interior[playerid] == 23) {
- GameTextForPlayer(playerid, "Meat factory", 2500, 4);
- SetPlayerPos(playerid,963.418762,2108.292480,1011.030273);
- SetPlayerInterior(playerid, 1);
- Than in ur server click Shift + right side in the mouse
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement