CarOwner var problem;
#1

Hello guys, I did a system for my server, but he presents a problem...
Firstly I want to say sorry for my english, because I'm brazilian...
Okay, so let's start.

All the command works perfectly, but the player's name, instead of appearing in charge, appears only (....)

Command Code:
PHP код:
CMD:searchplate(playeridparams[])
{
    static
        
id 0;
    if (
GetFactionType(playerid) != FACTION_POLICE)
        return 
SendErrorMessage(playerid"You needs be a cop.");
    if (
sscanf(params"d"id))
        return 
SendSyntaxMessage(playerid"/serachplate [vehicleid]");
    if (!
IsValidVehicle(id) || Car_GetID(id) == -1)
        return 
SendErrorMessage(playerid"You specified an invalid ID.");
    
Dialog_Show(playeridInfoCarroDIALOG_STYLE_MSGBOX"LOS SANTOS POLICE DEPARTMENT""This vehicle is owned by %s. Thank you for making the query.\n\nLOS SANTOS POLICE DEPARTMENT""Ok"""CarData[id][carOwner]);
    return 
1;

CarData Enum:
PHP код:
enum carData {
    
carID,
    
carExists,
    
carModel,
    
carOwner,
    
Float:carPos[4],
    
carColor1,
    
carColor2,
    
carPaintjob,
    
carLocked,
    
carMods[14],
    
carImpounded,
    
carImpoundPrice,
    
carFaction,
    
carWeapons[5],
    
carAmmo[5],
    
carVehicle
}; 
Reply


Messages In This Thread
CarOwner var problem; - by MineiriinHo - 31.10.2016, 16:30
Re: CarOwner var problem; - by MEW273 - 31.10.2016, 17:08
Re: CarOwner var problem; - by MineiriinHo - 31.10.2016, 17:24
Re: CarOwner var problem; - by jlalt - 31.10.2016, 17:29
Re: CarOwner var problem; - by MineiriinHo - 31.10.2016, 17:57
Re: CarOwner var problem; - by ThatFag - 31.10.2016, 18:23
Re: CarOwner var problem; - by MineiriinHo - 31.10.2016, 18:46
Re: CarOwner var problem; - by MEW273 - 31.10.2016, 18:49
Re: CarOwner var problem; - by MineiriinHo - 31.10.2016, 18:52
Re: CarOwner var problem; - by Logic_ - 31.10.2016, 19:01

Forum Jump:


Users browsing this thread: 1 Guest(s)