11.08.2012, 05:37
Look:
Errors
Quote:
#define MAX 4000 |
Quote:
if (strcmp("/RADIOCHECK", cmdtext, true, 10) == 0) { ShowPlayerDialog(playerid, MAX, DIALOG_STYLE_LIST, "LSPD Menu", "LSPD\nDuty", "Select", "Cancel"); return 1; } return 0; } |
Quote:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == MAX) { if(response) { if(listitem == 0) { ShowPlayerDialog(playerid, 101, DIALOG_STYLE_LIST, "LSPD MENU", "How to be cop\ni don't know", "Select", "Cancel"); } return 1; } } if(dialogid == 101) { if(response) { if(listitem == 0) { GivePlayerWeapon(playerid,24,500); } return 1; } |
Quote:
L:\Gta San Andreas\Gta San Andreas\Gta San Andreas\Jermi\gamemodes\Server.pwn(93) : error 017: undefined symbol "MAX" L:\Gta San Andreas\Gta San Andreas\Gta San Andreas\Jermi\gamemodes\Server.pwn(227) : error 017: undefined symbol "MAX" L:\Gta San Andreas\Gta San Andreas\Gta San Andreas\Jermi\gamemodes\Server.pwn(24 : warning 217: loose indentation L:\Gta San Andreas\Gta San Andreas\Gta San Andreas\Jermi\gamemodes\Server.pwn(24 : error 029: invalid expression, assumed zero L:\Gta San Andreas\Gta San Andreas\Gta San Andreas\Jermi\gamemodes\Server.pwn(24 : error 004: function "OnPlayerClickPlayer" is not implemented L:\Gta San Andreas\Gta San Andreas\Gta San Andreas\Jermi\gamemodes\Server.pwn(252) : error 030: compound statement not closed at the end of file (started at line 240) Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Errors. |