Talk Animation Need help got Probs.
#1

Код:
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.
Reply
#2

Quote:

OnPlayerText

OnPlayerCommandText?
Quote:

[don't send] ERROR.

Do you mean that your pawno crashes?
Reply
#3

Generally blocks of code go between braces starting with an opening brace ({) and closing brace (}), rather than two closing braces.
Reply
#4

Код:
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 {.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)