13.03.2012, 19:53
(
Последний раз редактировалось Lazoking; 13.03.2012 в 20:04.
Причина: Wrong Section
)
Код:
public OnPlayerUpdate(playerid) { if(IsPlayerInAnyVehicle(playerid)) { new veh = GetPlayerVehicleID(playerid); if(veh == 520 || veh == 425 || veh == 577 || veh == 417 || veh == 592) { if(Adminlevel[playerid] <= 3) { RemovePlayerFromVehicle(playerid); GameTextForPlayer(playerid,"~r~Admin Vehicle",3000,3); SendClientMessage(playerid,COLOR_RED,"Sorry! But this Vehicle is only for Admins."); } } if(veh == 579) { if(!strcmp(Spielername(playerid),"Name",true)) { RemovePlayerFromVehicle(playerid); GameTextForPlayer(playerid,"~r~Name's Vehicle",3000,3); SendClientMessage(playerid,COLOR_RED,"Sorry! But this Vehicle is only for Name."); } } } return 1; }