pickup model n door for factions - 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: pickup model n door for factions (
/showthread.php?tid=524433)
pickup model n door for factions -
BryanD - 06.07.2014
i've tried to change a door pickup to 19132,
http://www.k-dst.de/bilder/ArrowType/ArrowType3.jpg dis door
and it doesn't changing to to it, it's changing to to the orginal door (the white one)
if someone can help me thats will be good
---
i got this code:
Код:
if(DDoorsInfo[i][ddFaction] > 0)
{
if(PlayerInfo[playerid][pFaction] != DDoorsInfo[i][ddFaction])
{
SendClientMessage(playerid, COLOR_GRAD2, "You can't enter, this door is faction restricted.");
return 1;
}
}
if someone can change it to factions -1, 2, 5 ,7 10 i'll be happy