New Problem
#8

Quote:
Originally Posted by JesterlJoker
Посмотреть сообщение
how about trying to do this?
PHP код:
new string[5]; // example holder for FOOD with 4 chars
memcpy(string"FOOD"05*45);
PreloadAnimLib(playeridstring); 
I don't know if it works though... just a guess
Nope. Won't work.

Quote:
Originally Posted by Kaliber
Посмотреть сообщение
No, the error is, that you have to use const in the function header:

PHP код:
stock PreloadAnimLib(playerid, const animlib[]) ApplyAnimation(playerid,animlib,"null",0.0,0,0,0,0,0); 
That would fix the issue.

But i recommend you to use a macro:

PHP код:
#define PreloadAnimLib(%0,%1) ApplyAnimation(%0,%1,"null",0.0,0,0,0,0,0) 
I tried you first but as I said, just gave me more errors. I will try second option. Maybe it will work.
Reply


Messages In This Thread
New Problem - by antixgaming - 13.03.2019, 17:40
Re: New Problem - by antixgaming - 13.03.2019, 17:54
Re: New Problem - by xSkin - 13.03.2019, 18:12
Re: New Problem - by v1k1nG - 13.03.2019, 21:00
Re: New Problem - by antixgaming - 14.03.2019, 05:48
Re: New Problem - by JesterlJoker - 14.03.2019, 06:30
Re: New Problem - by Kaliber - 14.03.2019, 08:19
Re: New Problem - by antixgaming - 14.03.2019, 14:15
Re: New Problem - by antixgaming - 14.03.2019, 17:01

Forum Jump:


Users browsing this thread: 2 Guest(s)