spawn planes
#3

Still got an error:

Код:
(222) : error 048: array dimensions do not match
This is how the command looks now.

Код:
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;
}
Reply


Messages In This Thread
spawn planes - by Jhony_Blaze - 13.12.2014, 12:51
Re: spawn planes - by HY - 13.12.2014, 12:53
Re: spawn planes - by Jhony_Blaze - 13.12.2014, 13:00
Re: spawn planes - by Jhony_Blaze - 13.12.2014, 14:46
Re: spawn planes - by Kruno88 - 13.12.2014, 16:00

Forum Jump:


Users browsing this thread: 1 Guest(s)