Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- case DIALOG_PORT:
- {
- if(response)
- {
- SetPlayerInterior(playerid, 0);
- SetPlayerVirtualWorld(playerid, 0);
- switch(listitem)
- {
- if(IsPlayerInAnyVehicle(playerid)) //1757
- {
- new vozilo = GetPlayerVehicleID(playerid);
- if(listitem == 0) { SetPlayerPos(playerid, 2276.7539,-85.2362,26.4977) && SCM(playerid, BELA,"Portao si se do Policije") && SetVehiclePos(vozilo, 2276.7539,-85.2362,26.4977) && PutPlayerInVehicle(playerid, vozilo, 0); }
- if(listitem == 1) { SetPlayerPos(playerid, 2390.0713,92.7207,26.3359) && SCM(playerid, BELA,"Portao si se do Banke") && SetVehiclePos(vozilo, 2390.0713,92.7207,26.3359) && PutPlayerInVehicle(playerid, vozilo, 0); }
- if(listitem == 2) { SetPlayerPos(playerid, 2338.6211,60.6317,26.4844) && SCM(playerid, BELA,"Portao si se do Gun-Shopa") && SetVehiclePos(vozilo, 2338.6211,60.6317,26.4844) && PutPlayerInVehicle(playerid, vozilo, 0); }
- if(listitem == 3) { SetPlayerPos(playerid, 1380.0525,202.4533,19.5547) && SCM(playerid, BELA,"Portao si se do MontGomery-a") && SetVehiclePos(vozilo, 1380.0525,202.4533,19.5547) && PutPlayerInVehicle(playerid, vozilo, 0); }
- }
- else
- {
- if(listitem == 0) { SetPlayerPos(playerid, 2276.7539,-85.2362,26.4977) && SCM(playerid, BELA,"Portao si se do Policije"); }
- if(listitem == 0) { SetPlayerPos(playerid, 2390.0713,92.7207,26.3359) && SCM(playerid, BELA,"Portao si se do Banke"); }
- if(listitem == 0) { SetPlayerPos(playerid, 2338.6211,60.6317,26.4844) && SCM(playerid, BELA,"Portao si se do Gun-Shopa"); }
- if(listitem == 0) { SetPlayerPos(playerid, 1380.0525,202.4533,19.5547) && SCM(playerid, BELA,"Portao si se do MontGomery-a"); }
- }
- return 1;
- }
- }
- }
- C:\Users\a\Desktop\Flint Hospital RP\gamemodes\FHRPgm.pwn(1757) : error 002: only a single statement (or expression) can follow each "case"
- C:\Users\a\Desktop\Flint Hospital RP\gamemodes\FHRPgm.pwn(1757 -- 1758) : error 028: invalid subscript (not an array or too many subscripts): "IsPlayerInAnyVehicle"
- C:\Users\a\Desktop\Flint Hospital RP\gamemodes\FHRPgm.pwn(1757 -- 1759) : error 001: expected token: "}", but found "new"
- C:\Users\a\Desktop\Flint Hospital RP\gamemodes\FHRPgm.pwn(1757 -- 1759) : fatal error 107: too many error messages on one line
Advertisement
Add Comment
Please, Sign In to add comment