Object Remove!!!
#1

Hey All!!!!!!!!

I want to remove the object as shown in the pic



Can you tell me the code of it !!!!!!!!!!!!!


[EDIT] :The same is in the other side as shown in the pic

Reply
#2

RemoveBuildingForPlayer(playerid, 1250, 997.4141, 1707.5234, 10.8516, 0.25);
RemoveBuildingForPlayer(playerid, 1251, 997.0469, 1710.9531, 11.2656, 0.25);
Reply
#3

You will have to know the position of the model and the object ID.
Then you will go inside your script and do.

Код:
    RemoveBuildingForPlayer(playerid, objectid, y, x, z, rotation);
I hope it helped.
Reply
#4

Didn't Work
Reply
#5

Код:
It didnt help louris
What tool do we have to use to remove objects
Reply
#6

You need to put the code under OnPlayerConnect.

use jernejL map editor to remove samp objects
https://sampforum.blast.hk/showthread.php?tid=282801
Reply
#7

I DID THAT
Reply
#8

Same problem, I have 9 Errors

Код:
C:\Users\ADRIAN\Desktop\FilterScripts\Map.pwn(29) : error 017: undefined symbol "playerid"
C:\Users\ADRIAN\Desktop\FilterScripts\Map.pwn(30) : error 017: undefined symbol "playerid"
C:\Users\ADRIAN\Desktop\FilterScripts\Map.pwn(31) : error 017: undefined symbol "playerid"
C:\Users\ADRIAN\Desktop\FilterScripts\Map.pwn(32) : error 017: undefined symbol "playerid"
C:\Users\ADRIAN\Desktop\FilterScripts\Map.pwn(33) : error 017: undefined symbol "playerid"
C:\Users\ADRIAN\Desktop\FilterScripts\Map.pwn(34) : error 017: undefined symbol "playerid"
C:\Users\ADRIAN\Desktop\FilterScripts\Map.pwn(35) : error 017: undefined symbol "playerid"
C:\Users\ADRIAN\Desktop\FilterScripts\Map.pwn(36) : error 017: undefined symbol "playerid"
C:\Users\ADRIAN\Desktop\FilterScripts\Map.pwn(37) : error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


9 Errors.
Reply
#9

Write instead of

pawn Код:
"playerid"

write this "i"
IT shud work
Reply
#10

Do that
pawn Код:
public OnPlayerConnect(playerid)
{
    RemoveBuildingForPlayer(playerid, 1250, 997.4141, 1707.5234, 10.8516, 0.25);
    RemoveBuildingForPlayer(playerid, 1251, 997.0469, 1710.9531, 11.2656, 0.25);
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)