29.10.2012, 14:27
the check needs to be like this
pawn Код:
if(CarCheck == Cars[CORLEONE])//your team is "CORLEONE" as defined
{
if(gTeam[playerid] != 1) return SendClientMessage(playerid,-1,"Not team car!");
//if its a players team car just continue with the script
SendClientMessage(playerid,-1,"Your driving CORLEONE team's car");
}