[DUV]Duas dъvidas sobre veнculos!
#4

PHP Code:
public OnPlayerStateChange(playeridnewstateoldstate) {
    if(
newstate == 2) {
        if(
GetPlayerVehicleID(playerid) == Admins[0] || GetPlayerVehicleID(playerid) == Admins[1]) {
            
#if defined pAdmin
            
if(PlayerInfo[playerid][pAdmin] < 0) {
                
SendClientMessage(playerid, -1"<!> Vocк nгo й adm.");
                
RemovePlayerFromVehicle(playerid); }
            
#else
            
if(!IsPlayerAdmin(playerid)) {
                
SendClientMessage(playerid, -1"<!> Vocк nгo й adm.");
                
RemovePlayerFromVehicle(playerid); }
            }
        }
    }
    return 
1;

Acho que funciona .
Reply


Messages In This Thread
[DUV]Duas dъvidas sobre veнculos! - by Pedro_Teixeira - 06.07.2011, 19:20
Re: [DUV]Duas dъvidas sobre veнculos! - by Shadoww5 - 06.07.2011, 19:30
Re: [DUV]Duas dъvidas sobre veнculos! - by Macintosh - 06.07.2011, 19:30
Re: [DUV]Duas dъvidas sobre veнculos! - by Ricop522 - 06.07.2011, 19:43
Re: [DUV]Duas dъvidas sobre veнculos! - by Shadoww5 - 06.07.2011, 19:59
Re: [DUV]Duas dъvidas sobre veнculos! - by Ricop522 - 06.07.2011, 20:09
Re: [DUV]Duas dъvidas sobre veнculos! - by Shadoww5 - 06.07.2011, 20:11
Re: [DUV]Duas dъvidas sobre veнculos! - by TheGarfield - 06.07.2011, 20:14
Re: [DUV]Duas dъvidas sobre veнculos! - by Shadoww5 - 06.07.2011, 23:19

Forum Jump:


Users browsing this thread: 4 Guest(s)