12.01.2013, 14:40
E:\NVCNR\gamemodes\GTACNR.pwn(19775) : error 021: symbol already defined: "S@@_OnDialogResponse"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
and there is line 19775
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
Quote:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == 10002 && response) { if(!Numbers(inputtext) && strval(inputtext) != -1) return SendClientMessage(playerid,DEF_COL_RED,"You only can use numbers!"),ShowPlayerDialog(playerid,10001,DIALOG_ STYLE_LIST,"{A80000}Edit Object","Position\nVirtual World\nInterior ID\nStream Distance\nDelete Object","Next","Close"); new id = EDIT_OBJECT_ID[playerid]; new EDITOR_QUERY[256]; format(EDITOR_QUERY, sizeof(EDITOR_QUERY), "UPDATE `OBJECTS` SET `VW`=%d WHERE `ID`=%d", strval(inputtext), EDITOR_OBJECT[id][OBJ_DB_ID]); db_free_result(db_query(EDITOR_DATABASE, EDITOR_QUERY)); SendClientMessage(playerid,DEF_COL_WHITE,"You successful changed to virtualworld of this object."); return ShowPlayerDialog(playerid,10001,DIALOG_STYLE_LIST, "{A80000}Edit Object","Position\nVirtual World\nInterior ID\nStream Distance\nDelete Object","Next","Close"); } |
Quote:
19774: public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) 19775:{ |