18.08.2018, 06:27
Код:
G:\Pawno\gamemodes\cod.pwn(30) : warning 201: redefinition of constant/macro (symbol "COLOR_GREEN") G:\Pawno\gamemodes\cod.pwn(394) : loose indentation G:\Pawno\gamemodes\cod.pwn(396) : loose indentation G:\Pawno\gamemodes\cod.pwn(746) : warning 211: possibly unintended assignment G:\Pawno\gamemodes\cod.pwn(748) : error 029: invalid expression, assumed zero G:\Pawno\gamemodes\cod.pwn(748) : warning 215: expression has no effect G:\Pawno\gamemodes\cod.pwn(748) : warning 215: expression has no effect G:\Pawno\gamemodes\cod.pwn(748) : warning 215: expression has no effect G:\Pawno\gamemodes\cod.pwn(748) : warning 215: expression has no effect G:\Pawno\gamemodes\cod.pwn(748) : warning 215: expression has no effect G:\Pawno\gamemodes\cod.pwn(748) : error 001: expected token: ";", but found ")" G:\Pawno\gamemodes\cod.pwn(748) : error 029: invalid expression, assumed zero G:\Pawno\gamemodes\cod.pwn(748) : fatal error 107: too many error messages on one line Compilation aborted. Pawn compiler 3.2.3664 Copyright © 1997-2016, ITB CompuPhase 4 Errors.
Код:
public OnPlayerPickUpPickup(playerid, pickupid) { if(pickupid = shop) { ShowPlayerDialog(playerid,DIALOG_SHOP,DIALOG_STYLE_LIST,"Shop","Health - $2000\nKevlar Vest - $5000\nUZI - 3000$\nSawed-Off Shotgun - 8000$\nM4 - 1500$","Select","Close"); } return 1; }