Cmd Help !
#1

Hey I made that command in my script :

Work , No error's compiled clean'd , But when I /vstorage on server nothing... That's doesnt even tell me that's not unknown cmd... What to do ? How to fix that please ?

Code:
CMD:vstorage(playerid, params[])
{
    new vstring[1024];
    for(new i; i < MAX_PLAYERVEHICLES; i++)
    {
        if(PlayerVehicleInfo[playerid][i][pvId] > INVALID_PLAYER_VEHICLE_ID)
            format(vstring, sizeof(vstring), "%s\n%s", vstring, VehicleName[PlayerVehicleInfo[playerid][i][pvModelId] - 400]);

        else if(PlayerVehicleInfo[playerid][i][pvImpounded] == 1)
            format(vstring, sizeof(vstring), "%s\n%s (impounded)", vstring, VehicleName[PlayerVehicleInfo[playerid][i][pvModelId] - 400]);

        else
            format(vstring, sizeof(vstring), "%s\nEmpty", vstring);
    }
    return 1;
}
Reply


Messages In This Thread
Cmd Help ! - by yaron0600 - 25.11.2012, 18:50
Re: Cmd Help ! - by Roel - 25.11.2012, 18:55
Re: Cmd Help ! - by Glad2BeHere - 25.11.2012, 18:58
Re: Cmd Help ! - by yaron0600 - 25.11.2012, 19:11

Forum Jump:


Users browsing this thread: 1 Guest(s)