Dobivam ove erore
[pawn]
(5112) : error 010: invalid function or declaration
(5124) : error 010: invalid function or declaration
[/pawn]
[pawn]
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;
}
[/pawn]
Zna netko u cemu je problem..
Kako mislis da ti neko pomogne ako se ne vidi koja je koja linija...
Dodo sam
Probaj ovako
[pawn]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;
}[/pawn]
Opet izbacuje
probaj
[pawn]if(strcmp("/animlist", cmdtext, true) == 0)[/pawn]
i drugi put postavljaj temu po pravilima
http://balkan-samp.com/forum/index.php?topic=120099.0
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
Gde koristis tu komandu? jel pod ovaj public
[pawn]public OnPlayerCommandPerformed(playerid, cmdtext[], success)[/pawn]
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
Napravi cmd koja cisti animacije, ili kad stisne neko slovo :)
ClearAnimations(playerid)
Temu smes da zakljucas.