Oko Animacija


Započeo Narkomann, Decembar 05, 2018, 19:43:39 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Dobivam ove erore
(5112) : error 010: invalid function or declaration
(5124) : error 010: invalid function or declaration

5112 if(strcmp(cmd,"/animlist",true)==0)
	{
	    SendClientMessage(playerid, 0x33AA33AA, "________________________________________________________________________________________________________________________");
		SendClientMessage(playerid,0xA9C4E4FF,"-Available Animations:");
	    SendClientMessage(playerid,0xA9C4E4FF,"/fall - /fallback - /injured - /akick - /push - /lowbodypush - /handsup - /bomb - /drunk - /getarrested - /laugh - /sup");
        SendClientMessage(playerid,0xA9C4E4FF," /basket - /headbutt - /medic - /spray - /robman - /taichi - /lookout - /kiss - /cellin - /cellout - /crossarms - /lay");
        SendClientMessage(playerid,0xA9C4E4FF,"/deal - /crack - /smokeanim - /groundsit - /chat - /dance - /fucku - /strip - /hide - /vomit - /eat - /chairsit - /reload");
        SendClientMessage(playerid,0xA9C4E4FF,"/koface - /kostomach - /rollfall - /carjacked1 - /carjacked2 - /rcarjack1 - /rcarjack2 - /lcarjack1 - /lcarjack2 - /bat");
        SendClientMessage(playerid,0xA9C4E4FF,"/lifejump - /exhaust - /leftslap - /carlock - /hoodfrisked - /lightcig - /tapcig - /box - /lay2 - /chant - finger");
        SendClientMessage(playerid,0xA9C4E4FF,"/shouting - /knife - /cop - /elbow - /kneekick - /airkick - /gkick - /gpunch - /fstance - /lowthrow - /highthrow - /aim");
        SendClientMessage(playerid,0xA9C4E4FF,"/pee - /lean - /run");
        SendClientMessage(playerid, 0x33AA33AA, "ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ");
5124        return true;
	}

Zna netko u cemu je problem..
Poslednja Izmena: Decembar 06, 2018, 11:51:19 PRE PODNE od Bašovski

Kako mislis da ti neko pomogne ako se ne vidi koja je koja linija...


Probaj ovako
5112 if(strcmp(cmd,"/animlist",true)==0)
	{
	    SendClientMessage(playerid, 0x33AA33AA, "________________________________________________________________________________________________________________________");
		SendClientMessage(playerid,0xA9C4E4FF,"-Available Animations:");
	    SendClientMessage(playerid,0xA9C4E4FF,"/fall - /fallback - /injured - /akick - /push - /lowbodypush - /handsup - /bomb - /drunk - /getarrested - /laugh - /sup");
        SendClientMessage(playerid,0xA9C4E4FF," /basket - /headbutt - /medic - /spray - /robman - /taichi - /lookout - /kiss - /cellin - /cellout - /crossarms - /lay");
        SendClientMessage(playerid,0xA9C4E4FF,"/deal - /crack - /smokeanim - /groundsit - /chat - /dance - /fucku - /strip - /hide - /vomit - /eat - /chairsit - /reload");
        SendClientMessage(playerid,0xA9C4E4FF,"/koface - /kostomach - /rollfall - /carjacked1 - /carjacked2 - /rcarjack1 - /rcarjack2 - /lcarjack1 - /lcarjack2 - /bat");
        SendClientMessage(playerid,0xA9C4E4FF,"/lifejump - /exhaust - /leftslap - /carlock - /hoodfrisked - /lightcig - /tapcig - /box - /lay2 - /chant - finger");
        SendClientMessage(playerid,0xA9C4E4FF,"/shouting - /knife - /cop - /elbow - /kneekick - /airkick - /gkick - /gpunch - /fstance - /lowthrow - /highthrow - /aim");
        SendClientMessage(playerid,0xA9C4E4FF,"/pee - /lean - /run");
        SendClientMessage(playerid, 0x33AA33AA, "ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ");
5124    return true;
	}


probaj

if(strcmp("/animlist", cmdtext, true) == 0)


i drugi put postavljaj temu po pravilima
http://balkan-samp.com/forum/index.php?topic=120099.0
Poslednja Izmena: Decembar 05, 2018, 20:29:22 POSLE PODNE od rizla

Budem.
Nece ni to. opet izbacuje oba erora
inace sam ovo s googla uveo to u skriptu a anim.amx i anim.pwn skinuo i to zaljepio tu i izbacuje erore
Poslednja Izmena: Decembar 05, 2018, 20:38:24 POSLE PODNE od Narkomann

Gde koristis tu komandu? jel pod ovaj public
public OnPlayerCommandPerformed(playerid, cmdtext[], success)

Ma nista hahahahahahha glup sam ja za ovu skriptu. Bukvalno sam stavio isto pod CMD: ii ovo sta sam vama dao i sad skuzio tek da je isto i da ne treba bit to, jbg sta ces nego da te pitam smijem si ja lock temu kad mi se tocno odg ili ne smijem?
Samo jos nesto ne mogu prekinut neke animacije kako da to sredim znas mozda? Neke mogu neke ne
Poslednja Izmena: Decembar 05, 2018, 20:55:07 POSLE PODNE od Narkomann

Napravi cmd koja cisti animacije, ili kad stisne neko slovo :)
ClearAnimations(playerid)
Temu smes da zakljucas.