29.09.2012, 14:11
hello please help
then errors
thanks in advance
Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == 1) { if(response) { if(listitem == 0) { SendClientMessage(playerid,red,"[-------No Death Matching--------------]"); SendClientMessage(playerid,red,"Death Matching is Not Allowed In the Server."); SendClientMessage(playerid,red,"Shooting A Player's Vehicle is considered as Death Matching."); SendClientMessage(playerid,red,"You Can DM in DM Locations.");} SendClientMessage(playerid,red,"Dont Target Players.");} SendClientMessage(playerid,red,"Warrent - Most Wanted Player Can shoot Cop Chasing you."); SendClientMessage(playerid,red,"Dont Broke any one Rule to Protect your Friend/Brother/Team Mate"); SendClientMessage(playerid,red,"---------------------- /Rules To see More --------------------"); } if(listitem == 1) { SendClientMessage(playerid,red,"---------------------- /Rules To see More --------------------"); } if(listitem == 2) { SendClientMessage(playerid,red,"---------------------- /Rules To see More --------------------"); } } return 1; } return 0; }
Код:
D:\waterpark\testnew.pwn(45) : warning 217: loose indentation D:\waterpark\testnew.pwn(47) : warning 217: loose indentation D:\waterpark\testnew.pwn(48) : warning 217: loose indentation D:\waterpark\testnew.pwn(52) : warning 217: loose indentation D:\waterpark\testnew.pwn(61) : error 010: invalid function or declaration D:\waterpark\testnew.pwn(64) : error 010: invalid function or declaration Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors.