Detaljan opis problema: Dodao sam komandu /heal i dobio errore:
C:\Documents and Settings\Alen\Desktop\Balkan Ex\gamemodes\RLRP.pwn(26250) : error 017: undefined symbol "igrac"
C:\Documents and Settings\Alen\Desktop\Balkan Ex\gamemodes\RLRP.pwn(26251) : warning 219: local variable "pos" shadows a variable at a preceding level
C:\Documents and Settings\Alen\Desktop\Balkan Ex\gamemodes\RLRP.pwn(26252) : error 017: undefined symbol "igrac"
C:\Documents and Settings\Alen\Desktop\Balkan Ex\gamemodes\RLRP.pwn(26252) : warning 215: expression has no effect
C:\Documents and Settings\Alen\Desktop\Balkan Ex\gamemodes\RLRP.pwn(26252) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Alen\Desktop\Balkan Ex\gamemodes\RLRP.pwn(26252) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Alen\Desktop\Balkan Ex\gamemodes\RLRP.pwn(26252) : fatal error 107: too many error messages on one lineDio skripte: CMD:heal(playerid,params[])
{
if(PlayerInfo >=4 || PlayerInfo == 4)
{
if(!sscanf(params, "ui", igrac,cena)) return SendClientMessage(playerid, -1, "Uputstvo: /heal ");
new Float:pos;
GetPlayerPos(igrac,pos,pos,pos);
if(!IsPlayerInRangeOfPoint(playerid,4.0,pos,pos,pos); return SendClientMessage(playerid, -1, "Niste blizu tog igraca"); //Proverava da li je blizu tog igrac
SetPlayerHealth(igrac,100);
GivePlayerMoney(igrac, -cena);
GivePlayerMoney(playerid, cena);
SendClientMessage(playerid,0xE01B4C,"Izlijecili ste drugog igraca");
}
}
Neke slike/video za lakse dobivanje pomoci(neobavezno):/
