09.09.2009, 12:08
Код:
if(CarID == grovecars25) { if(PlayerColour == TEAM_GROVE || PlayerColour == COLOR_WHITE) { //Message to team when enters car? } else { SendClientMessage(playerid, RED,"SERVER MESSAGE: You are not a member of the Grove Street Famillies."); //SendClientMessage(playerid, YELLOW, "SERVER MESSAGE: If you have a picklock, you can brake into the vehicle. Read /picklock."); new Float:X,Float:Y,Float:Z; GetPlayerPos(playerid, X, Y, Z); SetPlayerPos(playerid, X+2, Y+2, Z+2); } }
If I am white Colour, I can't enter the car still, I get the warning that I am not GS member