Mért ír errort?
// Lets the player choose a motorcycle to spawn
COMMAND:bike(playerid, params[])
{
// Send the command to all admins so they can see it
SendAdminText(playerid, \"/bike\", params);
// Check if the player has logged in
if (APlayerData[playerid][LoggedIn] == true)
{
// Check if the player\'s admin-level is at least 1
if (APlayerData[playerid][PlayerLevel] >= 1) && (APlayerData[playerid][VIPLevel] >= 2)
{
// Make sure the player isn\'t inside a vehicle
if (GetPlayerVehicleID(playerid) == 0)
{
// Ask which motorcycle the player wants to have
ShowPlayerDialog(playerid, DialogBike, DIALOG_STYLE_LIST, \"Válassz motorokat:\", \"Bike\\r\\nBMX\\r\\nMountain Bike\\r\\nFaggio\\r\\nPizzaboy\\r\\nBF-400\\r\\nNRG-500\\r\\nPCJ-600\\r\\nFCR-900\\r\\nFreeway\\r\\nWayfarer\\r\\nSanchez\\r\\nQuad\", \"Spawn\", \"Cancel\");
// Let the server know that this was a valid command
return 1;
}
}
else
return 0;
}
else
return 0;
// Let the server know that this was a valid command
return 1;
}
D:\\modom\\pawno\\include\\PPC_PlayerCommands.inc(1503) : error 029: invalid expression, assumed zero
D:\\modom\\pawno\\include\\PPC_PlayerCommands.inc(1503 -- 1506) : error 029: invalid expression, assumed zero
D:\\modom\\pawno\\include\\PPC_PlayerCommands.inc(1506) : warning 217: loose indentation
D:\\modom\\pawno\\include\\PPC_PlayerCommands.inc(1506 -- 1507) : error 029: invalid expression, assumed zero
D:\\modom\\pawno\\include\\PPC_PlayerCommands.inc(1506 -- 1507) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
futtatnám a módot és errort ír rá raknék egy vip rendszert és errort ír
[mod]Kitettem helyetted a megfelelõ kód tageket![/mod]