#include
#include
#include
#include
#include
#include
#include
#include a onda su dosli i sledeci problemi
C:\Documents and Settings\Kosta Dokosic\Desktop\OLD LIFE\pawno\include\YSI\y_bit.inc(243) : error 025: function heading differs from prototype
C:\Documents and Settings\Kosta Dokosic\Desktop\OLD LIFE\pawno\include\YSI\y_bit.inc(243) : error 025: function heading differs from prototype
C:\Documents and Settings\Kosta Dokosic\Desktop\OLD LIFE\pawno\include\YSI\y_bit.inc(244) : error 021: symbol already defined: "Bit_Set"
C:\Documents and Settings\Kosta Dokosic\Desktop\OLD LIFE\pawno\include\YSI\y_commands.inc(793) : warning 219: local variable "hash" shadows a variable at a preceding level
C:\Documents and Settings\Kosta Dokosic\Desktop\OLD LIFE\pawno\include\YSI\y_commands.inc(1191) : warning 219: local variable "hash" shadows a variable at a preceding level
C:\Documents and Settings\Kosta Dokosic\Desktop\OLD LIFE\pawno\include\YSI\y_commands.inc(1243) : warning 219: local variable "hash" shadows a variable at a preceding level
C:\Documents and Settings\Kosta Dokosic\Desktop\OLD LIFE\pawno\include\YSI\y_commands.inc(1264) : warning 219: local variable "hash" shadows a variable at a preceding level
C:\Documents and Settings\Kosta Dokosic\Desktop\OLD LIFE\pawno\include\YSI\y_commands.inc(1326) : warning 219: local variable "hash" shadows a variable at a preceding level
C:\Documents and Settings\Kosta Dokosic\Desktop\OLD LIFE\pawno\include\YSI\y_commands.inc(1519) : warning 219: local variable "hash" shadows a variable at a preceding level
C:\Documents and Settings\Kosta Dokosic\Desktop\OLD LIFE\pawno\include\YSI\y_commands.inc(1600) : warning 219: local variable "hash" shadows a variable at a preceding level
C:\Documents and Settings\Kosta Dokosic\Desktop\OLD LIFE\pawno\include\YSI\y_commands.inc(1706) : warning 219: local variable "hash" shadows a variable at a preceding level
C:\Documents and Settings\Kosta Dokosic\Desktop\OLD LIFE\pawno\include\YSI\y_commands.inc(1955) : warning 219: local variable "hash" shadows a variable at a preceding level
C:\Documents and Settings\Kosta Dokosic\Desktop\OLD LIFE\gamemodes\OLRP.pwn(294) : error 017: undefined symbol "setadmin"
C:\Documents and Settings\Kosta Dokosic\Desktop\OLD LIFE\gamemodes\OLRP.pwn(296) : error 012: invalid function call, not a valid address
C:\Documents and Settings\Kosta Dokosic\Desktop\OLD LIFE\gamemodes\OLRP.pwn(296) : error 028: invalid subscript (not an array or too many subscripts): "IsPlayerAdmin"
C:\Documents and Settings\Kosta Dokosic\Desktop\OLD LIFE\gamemodes\OLRP.pwn(296) : warning 215: expression has no effect
C:\Documents and Settings\Kosta Dokosic\Desktop\OLD LIFE\gamemodes\OLRP.pwn(296) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\Kosta Dokosic\Desktop\OLD LIFE\gamemodes\OLRP.pwn(296) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
8 Errors.
a evo i te komande setadmin
CMD:setadmin(playerid,params[])
{
#pragma unused setadmin
new id,level,msg,msg2,name;
id(IsPlayerAdmin{playerid))
{
if(sscanf(params,"ud",id,level)) return SendClientMessage(playerid, narandjastaboja, "Koristi: /setadmin [ID,IME] ");
else if(level > 5) return SendClientMessage(playerid, crvenaboja, "Upozorenje;Maksimum Admin Level je 5");
else
{
PlayerInfo = level;
format(msg,sizeof(msg),"Admin %s vam je dodelio Admina level %d",level);
SendClientMessage(id,szelenaboja,msg);
GetPlayerName(playerid,name,sizeof(name));
format(msg2,sizeof(msg2),"Uspesno si Dodelio Admina Igracu %s level %d",name,level);
SendClientMessage(playerid,szelenaboja,msg2);
}
}
else
{
SendClienMessage(playerid,crvenaboja, "Informacije:Da bih koristio ovu komandu moras biti ulogovan kao RCON ADMIN!");
return 1;
}a zlgeda da ima jos problema na drugim mestima koji su dosli sa njime
public OnPlayerSpawn(playerid)
{
//------------------------------------------------------------------------------// Kada se igrac Spawna na server automatski mu se salje poruka.
// evo i reda 243 SetPlayerPos(playerid, 1732.91333, -1911.95166, 13.61062);
return 1;
}Kako ovo resiti??

