24.11.2012, 04:57
Код:
else if(IsLeoVehicle(vehicleid) && PlayerInfo[playerid][pFac] != 1) { new Float:pos[3]; GetPlayerPos(playerid, pos[0], pos[1], pos[2]); SetPlayerPos(playerid, pos[0], pos[1], pos[2]); SendClientMessage(playerid, COLOR_ORANGE, " This vehicle is restricted to the LSPD faction."); }
Код:
else if(IsFBIVehicle(vehicleid) && PlayerInfo[playerid][pFac] != 6) { new Float:pos[3]; GetPlayerPos(playerid, pos[0], pos[1], pos[2]); SetPlayerPos(playerid, pos[0], pos[1], pos[2]); SendClientMessage(playerid, COLOR_ORANGE, " This vehicle is restricted to the FBI faction."); }