SA-MP Forums Archive
CreatePickup.. - 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: CreatePickup.. (/showthread.php?tid=592284)



CreatePickup.. - karemmahmed22 - 22.10.2015

Hey, I got a problem, Which I don't know what causes it..
I trying to create a 2 pickups to teleport inside / outside the prison map..
But only 1 pickup (enter one) shows, the other doesn't..
I use this
PHP код:
    EnterPickup CreatePickup(1318232297.11742459.978510.8203);
    
ExitPickup CreatePickup(1318231862.2732,-1699.6681,5203.5859); 
It ain't showing at this place.
P.S.: This cords are at another Interior, Which is 5.. but I don't think thats what caused it..


Re: CreatePickup.. - AbyssMorgan - 22.10.2015

PHP код:
ExitPickup CreatePickup(1318231862.2732,-1699.6681,5203.5859);
too high
5203.5859 
5000.0 (do not remember what was the maximum heightbut it exceeds



Re: CreatePickup.. - karemmahmed22 - 22.10.2015

So what can I do? I already mapped my system to work at this high, And I ain't really ready to re-map it at lower distance..
Any ideas? I don't need shitty commands to exit the jail so..


Re: CreatePickup.. - Karan007 - 23.10.2015

Simply, make a checkpoint to check if the player is going in or out using variables. If you didn't understand, PM me for further helps.


Re: CreatePickup.. - karemmahmed22 - 23.10.2015

Hey Karan, Thanks its fixed already..
I made it with a dynamic checkpoint instead of a pickup, it worked.
OffTopic: How are you