(POMOC)ERRORI

Započeo GameSager
17. Jan. 2012. Zaključano
489
pregleda
5
postova
GameSager
4
Shot Caller
17. Jan. 2012.
Skripta koju koristim:CL
Detaljan opis problema:erori
Dio skripte: eto ovo je ta komanda  na kojoj  su ti errori
CMD:oduzminovac(playerid, params[])
{
new ID,suma;
:if(!IsPlayerAdmin(playerid)) return SCM(playerid,1,"Nemozes korsiti ovu komandu");
{
if(sscanf(params, "ui", ID, suma)) return SendClientMessage(playerid, "Koristi: /oduzminovac ");
GivePlayerMoney(ID,-suma);
}
else  SendClientMessage(playerid,COLOR_BLUE,"Nisi admin -.-!"
return 1;
}

Neke slike/video za lakse dobivanje pomoci(neobavezno):

C:\Users\User\Desktop\Balkan-Life RPG\Balkan-Life RPG\gamemodes\BLRP.pwn(4462😎 : error 017: undefined symbol "oduzminovac"
C:\Users\User\Desktop\Balkan-Life RPG\Balkan-Life RPG\gamemodes\BLRP.pwn(44631) : error 029: invalid expression, assumed zero
C:\Users\User\Desktop\Balkan-Life RPG\Balkan-Life RPG\gamemodes\BLRP.pwn(44631) : warning 215: expression has no effect
C:\Users\User\Desktop\Balkan-Life RPG\Balkan-Life RPG\gamemodes\BLRP.pwn(44631) : error 001: expected token: ";", but found "if"
C:\Users\User\Desktop\Balkan-Life RPG\Balkan-Life RPG\gamemodes\BLRP.pwn(44633) : error 017: undefined symbol "params"
C:\Users\User\Desktop\Balkan-Life RPG\Balkan-Life RPG\gamemodes\BLRP.pwn(44633) : error 035: argument type mismatch (argument 2)
C:\Users\User\Desktop\Balkan-Life RPG\Balkan-Life RPG\gamemodes\BLRP.pwn(44636) : error 029: invalid expression, assumed zero
C:\Users\User\Desktop\Balkan-Life RPG\Balkan-Life RPG\gamemodes\BLRP.pwn(44636 -- 44637) : error 001: expected token: ",", but found "return"
C:\Users\User\Desktop\Balkan-Life RPG\Balkan-Life RPG\gamemodes\BLRP.pwn(44639) : warning 225: unreachable code
C:\Users\User\Desktop\Balkan-Life RPG\Balkan-Life RPG\gamemodes\BLRP.pwn(44639) : error 017: undefined symbol "tag"
C:\Users\User\Desktop\Balkan-Life RPG\Balkan-Life RPG\gamemodes\BLRP.pwn(44642) : error 017: undefined symbol "tdonoff"
C:\Users\User\Desktop\Balkan-Life RPG\Balkan-Life RPG\gamemodes\BLRP.pwn(44642) : warning 215: expression has no effect
C:\Users\User\Desktop\Balkan-Life RPG\Balkan-Life RPG\gamemodes\BLRP.pwn(44642) : error 001: expected token: ";", but found "]"
C:\Users\User\Desktop\Balkan-Life RPG\Balkan-Life RPG\gamemodes\BLRP.pwn(44642) : error 029: invalid expression, assumed zero
C:\Users\User\Desktop\Balkan-Life RPG\Balkan-Life RPG\gamemodes\BLRP.pwn(44642) : fatal error 107: too many error messages on one line
12 Errors.
HITNO!! HVALA!!
Kalibar .300
5
Underboss
17. Jan. 2012.
Evo sto pise s undefined symbol ''I tu nesto'', to ti nije definirano. Znaci definiras to.
C:\Users\User\Desktop\Balkan-Life RPG\Balkan-Life RPG\gamemodes\BLRP.pwn(44642) : warning 215: expression has no effec. To ti nema Effekta
GameSager
4
Shot Caller
17. Jan. 2012.
nekuzim :S svi ti errori su za ovu gore comandu de neko ko zna nek je vidi i isparvi ili mi kaze kako je ispravit hvala
Deleted User
Obrisan korisnik
17. Jan. 2012.
CMD:oduzminovac(playerid, params[])
{
new ID,suma;
if(!IsPlayerAdmin(playerid)) return SCM(playerid,-1,"Nemozes korsiti ovu komandu");
f(sscanf(params, "ui", ID, suma)) return SendClientMessage(playerid,-1 ,"Koristi: /oduzminovac ");
GivePlayerMoney(ID,-suma);
return 1;
}

Stavljas izvan svakog callback-a ne pod onplayercommandtext i dodas gore #include ako nisi, a ako nemas include skines ga
GameSager
4
Shot Caller
17. Jan. 2012.
ma sve vise errora maknou sam te dvije komande tu oduzmi i tag LOCK hvala!

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha