06.04.2012, 13:39
How do you restrict vehicles to faction.
public OnPlayerEnterVehicle(playerid, vehicleid)
{
if(GetVehicleModel(vehicleid) == 402 && Faction[playerid] != FACTION_RED)
{
new Float:x, Float:y, Float:z, string[128];
GetPlayerPos(playerid, x, y, z);
SetPlayerPos(playerid, x, y, z+3);
SendClientMessage(playerid, RED, "Your faction is not allowed to enter this vehicle");
}
}
Don't be a smartass yourself? Click on his profile > view his started threads.
This 'individual' has literally requested that his entire gamemode be created for him, spread out over around 20 topics relating to relatively simple shit. He's obviously not learning or even bothering to try, because hey! There's a whole section of people that could be doing it for him! And pertaining to your amazingly ignorant comment "who the hell uses downloaded gamemodes anymore?" I would politely point you to the SA-MP server browser. A whopping 90% of all online servers are either pure downloaded GM's or mediocre edits of them. Check your shit before you act like a bigboy |
Totally self-scripted. And it's working just fine for me, I don't need to flood my server with hackers and retards who can't tell the difference between their hand and a woman (you remind me strongly of this trait) to make me feel good about myself and my scripting ability.
How's having to beg for rep working out for you? |