Freeze player without using toggleplayercontrable - 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: Freeze player without using toggleplayercontrable (
/showthread.php?tid=510456)
Freeze player without using toggleplayercontrable -
audriuxxx - 01.05.2014
How?
Re: Freeze player without using toggleplayercontrable -
vassilis - 01.05.2014
You
can't
Re: Freeze player without using toggleplayercontrable -
WorldPro - 01.05.2014
you can put the player into an object / vehicle then set it to Interior 1.
then destroy the object / vehicle.
Destroy Vehicle:
PHP код:
DestroyVehicle(vehicleid);
put your vehicle name in vehicleid ^^
Destroy Object:
PHP код:
DestroyObject(objectid);
put the object name in objectid ^^
and just put the object in MTA / RME and put this as a command or something.
PHP код:
LinkVehicleToInterior(vehicleid, virtual world id);
you can do like this and put the object into the vehicle for no issues / bugs into the car you created.
then do like SetPlayerPos where the object standing and CreateVehicle when the object standing , and put the vehicle on interior you wish to do.
enjoy.
any problems , PME.
Re: Freeze player without using toggleplayercontrable -
Konstantinos - 01.05.2014
http://forum.sa-mp.com/showpost.php?...postcount=2470