06.11.2010, 00:33
Код:
Cars[LSPD1]= AddStaticVehicle(596,1535.7490,-1668.1628,13.1043,359.4030,0,1); Cars[LSPD2]= AddStaticVehicle(596,1535.8396,-1677.4053,13.1056,180.1512,0,1); Cars[LSPD3]= = AddStaticVehicle(596,1601.7650,-1683.9963,5.6129,89.1848,0,1); public OnPlayerStateChange(playerid, newstate, oldstate) { if(newstate == 2) { new CarCheck = GetPlayerVehicleID(playerid); if(CarCheck == Cars[LSPD] ) { if(gTeam[playerid] != 1) { RemovePlayerFromVehicle(playerid); SendClientMessage(playerid, FARBE_ROT, "You have no keys!"); return 1; } } return 1; } return 1; }
Try that, instead of put 2x "=" simbols, cuz I think it's not allowed on programming