06.03.2009, 17:12
Can someone make me cmd for admin on duty with color, full health & armor please ^^
//top of script
new AdminDuty[MAX_PLAYERS];
//OnPlayerConnect
AdminDuty[playerid] = 0;
//Admin duty command
AdminDuty[playerid] = 1;
//SetPlayerColor, Health Etc.
//Checking if an admin is on duty
if(AdminDuty[playerid])
{
//Do Stuff
}
Originally Posted by Norn
Simple:
pawn Код:
|
Originally Posted by James_Bauer
C:\Users\Korisnik\Desktop\Admin na duznosti.pwn(2) : error 017: undefined symbol "MAX_PLAYERS"
C:\Users\Korisnik\Desktop\Admin na duznosti.pwn(5) : error 010: invalid function or declaration C:\Users\Korisnik\Desktop\Admin na duznosti.pwn( : error 010: invalid function or declaration C:\Users\Korisnik\Desktop\Admin na duznosti.pwn(12) : error 010: invalid function or declaration C:\Users\Korisnik\Desktop\Admin na duznosti.pwn(15) : error 054: unmatched closing brace ("}") C:\Users\Korisnik\Desktop\Admin na duznosti.pwn(17) : warning 203: symbol is never used: "AdminDuty" C:\Users\Korisnik\Desktop\Admin na duznosti.pwn(17) : error 013: no entry point (no public functions) Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 6 Errors. Can someone help me to fix this! |