Error in callsign for PD
#3

Quote:
Originally Posted by jasperschellekens
Посмотреть сообщение
Код:
CMD:deletecallsign(playerid,params[]) 
{ 
    if(IsACop(playerid) || (PlayerInfo[playerid][pFaction] == 5 && PlayerInfo[playerid][pDivision] == 5) || PlayerInfo[playerid][pFaction] == 5 && PlayerInfo[playerid][pDivision] == 2 || (PlayerInfo[playerid][pFaction] == 3 && PlayerInfo[playerid][pRank] >= 5)) 
{ 
        new veh = GetPlayerVehicleID(playerid); 
        if(IsPlayerInAnyVehicle(playerid)) 
    { 
        Delete3DTextLabel(veicolo_callsign_testo[veh]); 
        veicolo_callsign_status[veh] = 0; 
    } 
        else 
    { 
    SendClientMessage(playerid,COLOR_ORANGE,"ERROR: {FFFFFF}You are not in a vehicle"); 
    } 
        return 1; 
}
You are using double brackets, see the ones i marked red.
Remove the first one of em.
Thank you, i just mess it xD; anyways i give a rep for a helpful person.
Reply


Messages In This Thread
Error in callsign for PD - by TitoRayne - 16.04.2018, 11:31
Re: Error in callsign for PD - by jasperschellekens - 16.04.2018, 11:34
Re: Error in callsign for PD - by TitoRayne - 16.04.2018, 11:44
Re: Error in callsign for PD - by jasperschellekens - 16.04.2018, 11:58

Forum Jump:


Users browsing this thread: 1 Guest(s)