Mapping Question [Rep +1]
#1

Hello I want to remove this gate here.But how??
Reply
#2

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(playerid11372, -2076.4375, -107.929736.96880.25);
RemoveBuildingForPlayer(playerid11014, -2076.4375, -107.929736.96880.25); 
Reply
#3

Locate the gate's id from the objects map and delete that line from the script which create this object.
Reply
#4

Check the object id of that object then use RemoveBuildingForPlayer OnPlayerConnect (if that is GTA SA Single Player Object)
Reply
#5

After getting the id use this awsome function
pawn Код:
RemoveBuildingForPlayer(playerid, modelid, Float:fX, Float:fY, Float:fZ, Float:fRadius)
Reply
#6

From where can I download SAMP Map Editor please help.In ****** it shows MTA -.-
Reply
#7

As I stated above, I gave you the lines of code you need to add.

PHP код:
RemoveBuildingForPlayer(playerid11372, -2076.4375, -107.929736.96880.25);
RemoveBuildingForPlayer(playerid11014, -2076.4375, -107.929736.96880.25); 
Reply
#8

Ok thanks +1 rep for you
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)