13.12.2014, 13:00
Still got an error:
This is how the command looks now.
Код:
(222) : error 048: array dimensions do not match
Код:
CMD:vplane(playerid, params[]) { // Check if the player's admin-level is at least 1 if(PlayerInfo[playerid][pVIP] >= 2) { // Make sure the player isn't inside a vehicle if (GetPlayerVehicleID(playerid) == 0) { // Ask which plane the player wants to have ShowPlayerDialog(playerid, DialogPlane, DIALOG_STYLE_LIST, "Planes", APlanes, "Spawn", "Cancel"); // Let the server know that this was a valid command return 1; } } else return 0; // Let the server know that this was a valid command return 1; }