01.10.2011, 07:17
I got an error while i was making an drp quiz
The script is
The errors are
The script is
Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == DIALOG_QUIZ) { if(!response) return Kick(playerid); if(response) { if(listitem == 0) { SendClientMessage(playerid, -1, "Wrong Answer"); Kick(playerid); } if(listitem == 1) { SendClientMessage(playerid, -1, "Thats Correct Answer"); } SpwanPlayer(playerid); } } return 1; }
Код:
C:\Users\PART\Desktop\Desktop\samp03csvr_R2-2_win32\gamemodes\larp.pwn(34) : warning 201: redefinition of constant/macro (symbol "DIALOG_QUIZ") C:\Users\PART\Desktop\Desktop\samp03csvr_R2-2_win32\gamemodes\larp.pwn(3376) : error 017: undefined symbol "SpwanPlayer"