22.05.2010, 15:51
Hello,
I'm trying to lock Car ID's to a team, only that team may and can use that vehicle(s).
But I got some problems with it, when I'm in the team, it stills kicks me out from it...
This is how that part of the script looks like:
Maybe you know a better way to do this?
Thanks
I'm trying to lock Car ID's to a team, only that team may and can use that vehicle(s).
But I got some problems with it, when I'm in the team, it stills kicks me out from it...
This is how that part of the script looks like:
Код:
if(modelid == 520 || modelid == 548 || modelid == 470 || modelid == 433) { if(gTeam[playerid] == 5) { } else { SendClientMessage(playerid, COLOR_WHITE,"You are not allowed to enter this vehicle."); RemovePlayerFromVehicle(playerid); } }
Thanks