SA-MP Forums Archive
Can someone tell me? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Can someone tell me? (/showthread.php?tid=178473)



Can someone tell me? - odlemoreten - 22.09.2010

Heey, Im trying to make Cars that Binded to a Faction , Can Someone tell me what to do?


Re: Can someone tell me? - TouR - 22.09.2010

well you can store to their carid an array like CarFaction[carid] = factionid;


Re: Can someone tell me? - cessil - 22.09.2010

well there's been plenty of people asking the same question, I bet if you searched before posting there'd be no need for this thread


Re: Can someone tell me? - odlemoreten - 22.09.2010

Tour15 But i need to place the location to i think it is like

AddStaticVehicle(411,1536.7637,-2211.8813,13.2227,4.4921,0,0);

How can i get that Vehicle to Binded to a faction?:P

And cessil i have tried to search :P


Re: Can someone tell me? - Cameltoe - 22.09.2010

OnPlayerEnterVehicle

if(GetVehicleModel(vehicleid) == FACTION MODEL && PLAYERFACTION == Faction)
{
// put player in vehicle.
}else return SendClientMessage(playerid, COLOR, "Vehicle only available for FACTION");