[Ajuda] Colocando no GM
#2

pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    new aname[MAX_PLAYER_NAME];
    GetPlayerName(playerid, aname, MAX_PLAYER_NAME);

    if(pAdmin[playerid] == 1 || pAdmin[playerid] == 2 || pAdmin[playerid] == 3 || pAdmin[playerid] == 4 || pAdmin[playerid] == 5)
    {
        if(function218(vehicleid))
        {
            AddVehicleComponent(vehicleid, 1010);
        }
    }
   
    new string3[256];
    format(string3, sizeof(string3), "~g~%s",VehicleNames[GetVehicleModel(GetPlayerVehicleID(i))-400]);
    GameTextForPlayer(i, string3, 6000, 1);
   
    if(InCall[playerid]==1) return SendClientMessage(playerid,Vermelho,"[ERRO] Й proibido dirigir e falar no telefone.");
    return 1;
}
Tente assim man tente se esforзa um pouco ^^
Reply


Messages In This Thread
Colocando no GM - by ZaturN - 28.12.2013, 01:33
Re: Colocando no GM - by cantiliano - 28.12.2013, 02:43
Re: Colocando no GM - by NurbWill - 28.12.2013, 02:52

Forum Jump:


Users browsing this thread: 1 Guest(s)