[AJUDA]Restringir Veiculos
#6

pawn Код:
public OnPlayerEnterVehicle ( playerid , vehicleid , ispassenger )
{
    static
        Float:x,
        Float:y,
        Float:z,
        sIndex;
       
    sIndex = 0;
    GetPlayerPos ( playerid , x , y , z );
    for ( ; sIndex < sizeof VCaminhoneiro ; ++sIndex )
    {
        if ( !ispassenger && vehicleid == VCaminhoneiro[ sIndex ] && Emprego[ playerid ] != Caminhoneiro)
        {
            SetPlayerPos ( playerid , x , y - 0.2 , z );
            SendClientMessage ( playerid , 0xFFFFFFAA , "Vocк nгo й um caminhoneiro!" );
            break;
        }
    }
    return 1;
}
Tente
Reply


Messages In This Thread
[AJUDA]Restringir Veiculos - by Manoloww - 31.03.2012, 19:58
Respuesta: [AJUDA]Restringir Veiculos - by Chis - 31.03.2012, 20:16
Re: [AJUDA]Restringir Veiculos - by Manoloww - 31.03.2012, 20:31
Re: [AJUDA]Restringir Veiculos - by DeathTone - 31.03.2012, 20:35
Re: [AJUDA]Restringir Veiculos - by Manoloww - 31.03.2012, 20:39
Re: [AJUDA]Restringir Veiculos - by Jason` - 31.03.2012, 21:44

Forum Jump:


Users browsing this thread: 1 Guest(s)