Talk Animation Need help got Probs. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Talk Animation Need help got Probs. (
/showthread.php?tid=155858)
Talk Animation Need help got Probs. -
Karl115 - 19.06.2010
Код:
if(!strcmp("talk", text, true, 4))
}
ApplyAnimation(playerid,"PED","IDLE_CHAT",4.1,1,1,1,1,1);
}
When i add this under OnPlayerText the, it won't compile ill get a [don't send]
ERROR.
Help please.
Re: Talk Animation Need help got Probs. -
VinceQc - 20.06.2010
OnPlayerCommandText?
Do you mean that your pawno crashes?
Re: Talk Animation Need help got Probs. -
ev0lution - 20.06.2010
Generally blocks of code go between braces starting with an opening brace ({) and closing brace (}), rather than two closing braces.
Re: Talk Animation Need help got Probs. -
VinceQc - 20.06.2010
Код:
if(!strcmp("talk", text, true, 4))
{
ApplyAnimation(playerid,"PED","IDLE_CHAT",4.1,1,1,1,1,1);
}
In a resume you had to change the first } to {.