Need Help
#1

Код HTML:
D:\gym\filterscripts\gryz.pwn(210) : error 017: undefined symbol "PlayerInfo"
D:\gym\filterscripts\gryz.pwn(210) : warning 215: expression has no effect
D:\gym\filterscripts\gryz.pwn(210) : error 001: expected token: ";", but found "]"
D:\gym\filterscripts\gryz.pwn(210) : error 029: invalid expression, assumed zero
D:\gym\filterscripts\gryz.pwn(210) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
code

Код HTML:
	if(pickupid == gryz4) {
	if(PlayerInfo[playerid][pJob] != 30){
    SendClientMessage(playerid, COLOR_RED, "Сначала устройтесь на работу");
    SendClientMessage(playerid, COLOR_RED, "Сделать это можно у стола администрации");
	return 1;
    }
Reply
#2

Copy & Paste is a bad thing.
Anyway, you have to define PlayerInfo with an enum which contain pJob and, please, don't ask someone to do it for you.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)