22.07.2012, 05:59
Hello,
im getting error in these lines :
Error :
Help !
im getting error in these lines :
Код:
if(dialogid == Commanddialog) { if(response) // If they clicked 'Select' or double-clicked a weapon { // Give them the weapon if(listitem == 0) // They selected the first item - Desert Eagle { ShowPlayerDialog(playerid, 6, DIALOG_STYLE_MSGBOX, "Common Commands", "/help - To Get More Help About Server\n/colors - To See List of Colors\n/Teles - To See all the Current Teles\n/admins - To see Online Admins\n/pm - To Send a Personal Message\n/afk - To Be AFK\n/back - To come Back From AFK", "Ok", "Cancel"); } if(listitem == 1) // They selected the second item - AK-47 { ShowPlayerDialog(playerid, 7, DIALOG_STYLE_MSGBOX, "Vip Commands", "/vheal - To Heal Yourself\n/vcar - To Spawn a VIP Car\n/vplane - To Spawn a VIP Plane\n/vcolor - To get VIP Color in Map ( Green )\n! - To Vip Chat", "Ok", "Cancel"); } if(listitem == 2) // They selected the third item - Desert Eagle { ShowPlayerDialog(playerid, 8, DIALOG_STYLE_MSGBOX, "Admin Commands", "/", "Ok", "Cancel"); } return 1; } }
Код:
E:\Server\gamemodes\galaxy.pwn(403) : warning 217: loose indentation E:\Server\gamemodes\galaxy.pwn(403) : error 029: invalid expression, assumed zero E:\Server\gamemodes\galaxy.pwn(403) : error 004: function "OnPlayerClickPlayer" is not implemented E:\Server\gamemodes\galaxy.pwn(407) : error 030: compound statement not closed at the end of file (started at line 314) Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 3 Errors.