05.02.2014, 23:28
Код:
public OnPlayerText(playerid, text[]) { new vehicleid = GetPlayerVehicleID(playerid); new Name[MAX_PLAYER_NAME]; GetPlayerName(playerid, Name, sizeof(Name)); new string[256]; for(new i=0;i<MAX_PLAYERS;i++) { if(!IsPlayerConnected(i)) continue; { if(IsPlayerInAnyVehicle(i) && !IsModelABike(vehicleid) && !IsModelASpecial(vehicleid)) {
Код:
public OnPlayerText(playerid, text[]) { new vehicleid = GetPlayerVehicleID(playerid); new Name[MAX_PLAYER_NAME]; GetPlayerName(playerid, Name, sizeof(Name)); new string[256]; for(new i=0;i<MAX_PLAYERS;i++) { if(IsPlayerConnected(i)) continue; if(IsPlayerInAnyVehicle(i) && !IsModelABike(vehicleid) && !IsModelASpecial(vehicleid)) {