SA-MP Forums Archive
Need code for deleting gates area 51 - 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: Need code for deleting gates area 51 (/showthread.php?tid=301256)



Need code for deleting gates area 51 - Admigo - 03.12.2011

Heey all,
Can someone give me the code of removebuildingforplayer for deleting the gates of area 51?
I really need this.

Thanks admigo


Re: Need code for deleting gates area 51 - Zonoya - 03.12.2011

you need to delete the whole fence and put the new 0,3d fence in


Re: Need code for deleting gates area 51 - Admigo - 03.12.2011

Ok thanks dude,will do that
Only one question: Can you attach 5 or 10 objects to a player because on wiki it says 5 but it was 10 in 0.3d right?


Re: Need code for deleting gates area 51 - Zonoya - 03.12.2011

not sure i think its still 5 and do u mind helping me

I have a script for a score based spawning i have everying in a Switch(GetPlayerScore(playerid)) but how would i detect if the player had like 300+ score


Re: Need code for deleting gates area 51 - Admigo - 03.12.2011

Quote:
Originally Posted by Zonoya
Посмотреть сообщение
not sure i think its still 5 and do u mind helping me

I have a script for a score based spawning i have everying in a Switch(GetPlayerScore(playerid)) but how would i detect if the player had like 300+ score
You can do:
Код:
if(GetPlayerScore(playerid)>500)
Its not a switch but i dont know anything about switches lol.