SA-MP Forums Archive
[HELP]Employment agency - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [HELP]Employment agency (/showthread.php?tid=612689)



[HELP]Employment agency - GabrielBiel - 20.07.2016

Nom my server have 3 agencies jobs. LS SF and LV . LS . All have the same inside, when I go into SF and going out I stop in LV agency . Already shifted several times and I can not . Can someone help me?

Code agency LV
PHP Code:
ENTRADALV CreatePickup(1239,1,2446.5039,2376.1309,12.1635);// A PICKUP 
PHP Code:
SAIDALV AddStaticPickup(1239,1,390.0895,173.8614,1008.3828,1); 
PHP Code:
AGENCIALV CPS_AddCheckpoint(1714.5833,-1670.1101,20.22471.050); 
PHP Code:
if(pickupid == ENTRADALV) { 
    
SetPlayerPos(playerid,385.4674,173.9319,1008.3828); 
    
SetPlayerInterior(playerid3); 
    
SetPlayerVirtualWorld(playerid1); 
    } 
    if(
pickupid == SAIDALV && GetPlayerVirtualWorld(playerid) == 1) { 
    
SetPlayerPos(playerid,2443.3613,2376.1125,11.8366); 
    
SetPlayerInterior(playerid,0); 
    
SetPlayerVirtualWorld(playerid,0); 
Code agency SF
PHP Code:
entradasf CreatePickup(1239,1,-2461.4724,133.4850,35.1719); 
PHP Code:
saidasf AddStaticPickup(1239,1,1700.5421,-1667.8127,20.2188); 
PHP Code:
AGENCIASF CPS_AddCheckpoint(292.6913,179.7352,1007.17941.050); 
PHP Code:
if(pickupid == entradasf) { 
    
SetPlayerPos(playerid,385.4674,173.9319,1008.3828); 
    
SetPlayerInterior(playerid3); 
    
SetPlayerVirtualWorld(playerid1); 
    } 
    if(
pickupid == saidasf && GetPlayerVirtualWorld(playerid) == 1) { 
    
SetPlayerPos(playerid,-2459.6550,135.2769,35.1719); 
    
SetPlayerInterior(playerid,0); 
    
SetPlayerVirtualWorld(playerid,0); 
    } 



Re: [HELP]Employment agency - GabrielBiel - 20.07.2016

Help Please?