Object Remove!!! - 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: Object Remove!!! (
/showthread.php?tid=415004)
Object Remove!!! -
shoaib_sait - 11.02.2013
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
Re: Object Remove!!! -
Louris - 11.02.2013
RemoveBuildingForPlayer(playerid, 1250, 997.4141, 1707.5234, 10.8516, 0.25);
RemoveBuildingForPlayer(playerid, 1251, 997.0469, 1710.9531, 11.2656, 0.25);
Re: Object Remove!!! -
Arnoo - 11.02.2013
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.
Re: Object Remove!!! -
shoaib_sait - 11.02.2013
Didn't Work
Re: Object Remove!!! -
shoaib_sait - 11.02.2013
Код:
It didnt help louris
What tool do we have to use to remove objects
Re: Object Remove!!! -
Jewell - 11.02.2013
You need to put the code under OnPlayerConnect.
use jernejL map editor to remove samp objects
https://sampforum.blast.hk/showthread.php?tid=282801
Re: Object Remove!!! -
shoaib_sait - 12.02.2013
I DID THAT
Re: Object Remove!!! -
MatriXScoT - 13.02.2013
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.
Re: Object Remove!!! -
shoaib_sait - 14.02.2013
Write instead of
IT shud work
Re: Object Remove!!! -
theomanking - 14.02.2013
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;
}