01.03.2015, 20:28
Quote:
|
Hope I helped. If you still have problems after that, please show us the portion of code you're trying to run.
|
Thanks, I already read that one. So as it didn't really help me, here's an example:I'm creating this:
OnPlayerChangeAnim(playerid, newAnim, oldAnim)
Whenever I want to compare newAnim to an anim, I do this:
Код:
new baseballBat[32];
baseballBat = "BASEBALL_BAT_1";
if(strcmp(baseballBat == newAnim)
{}
So how do I strcmp the whole String like this? Should I format baseballBat?


