Command not recognised? Don't see the issue?
#1

pawn Код:
CMD:myvehicles(playerid, params[])//NEEDS REWRITE
{
    new string[512];
    if(LoggedIn[playerid] == 0) return SendClientMessage(playerid, COLOUR_GREY, "You must be logged in to use this command.");
    for(new v= 1;v<MAX_VEHICLES;v++)
    {
        if(VehOwner[v] == PlayerSQLID[playerid])
        {
            new name1 = GetVehicleModel(VehModel[v]) - 400;
            format(string, sizeof(string), "%s%s - ID(%d) - Plate: {33AA33}%s\n",string, VehicleNames[name1], v, VehPlate[v]);
        }
    }
    ShowPlayerDialog(playerid,DIALOG_SHOWCAR,DIALOG_STYLE_MSGBOX,"My Vehicles", string,"Close","");
    return 1;
}
Could anyone tell me why this isn't working?
Reply


Messages In This Thread
Command not recognised? Don't see the issue? - by Dokins - 17.03.2014, 18:30
Re: Command not recognised? Don't see the issue? - by Jefff - 17.03.2014, 19:01
Re: Command not recognised? Don't see the issue? - by Dokins - 17.03.2014, 19:05
Re: Command not recognised? Don't see the issue? - by Jefff - 17.03.2014, 19:08
Re: Command not recognised? Don't see the issue? - by CuervO - 17.03.2014, 19:17

Forum Jump:


Users browsing this thread: 1 Guest(s)