Mapping Question [Rep +1] - 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: Mapping Question [Rep +1] (
/showthread.php?tid=332466)
Mapping Question [Rep +1] -
MichaelProPlayer - 08.04.2012
Hello I want to remove this gate here.But how??
Re: Mapping Question [Rep +1] -
Boooth - 08.04.2012
If it is an original SA object then you will need to use SAMP Map Editor, this will allow you to remove it.
Or just add these 2 lines on the OnPlayerConnect callback.
PHP код:
RemoveBuildingForPlayer(playerid, 11372, -2076.4375, -107.9297, 36.9688, 0.25);
RemoveBuildingForPlayer(playerid, 11014, -2076.4375, -107.9297, 36.9688, 0.25);
Re: Mapping Question [Rep +1] -
Mark™ - 08.04.2012
Locate the gate's id from the objects map and delete that line from the script which create this object.
Re: Mapping Question [Rep +1] -
Reklez - 08.04.2012
Check the object id of that object then use RemoveBuildingForPlayer OnPlayerConnect (if that is GTA SA Single Player Object)
Re: Mapping Question [Rep +1] -
Faisal_khan - 08.04.2012
After getting the id use this awsome function
pawn Код:
RemoveBuildingForPlayer(playerid, modelid, Float:fX, Float:fY, Float:fZ, Float:fRadius)
Re: Mapping Question [Rep +1] -
MichaelProPlayer - 08.04.2012
From where can I download SAMP Map Editor please help.In ****** it shows MTA -.-
Re: Mapping Question [Rep +1] -
Boooth - 08.04.2012
As I stated above, I gave you the lines of code you need to add.
PHP код:
RemoveBuildingForPlayer(playerid, 11372, -2076.4375, -107.9297, 36.9688, 0.25);
RemoveBuildingForPlayer(playerid, 11014, -2076.4375, -107.9297, 36.9688, 0.25);
Re: Mapping Question [Rep +1] -
MichaelProPlayer - 08.04.2012
Ok thanks +1 rep for you