YSI-Includes icon indicating copy to clipboard operation
YSI-Includes copied to clipboard

When i'm using YSI Commands as include, my gamemode doesn't compile

Open epanomy opened this issue 6 years ago • 4 comments

When i'm using YSI Commands as include, my gamemode doesn't compile. How can i solve this problem?

epanomy avatar Mar 29 '19 20:03 epanomy

Give US example of one cmd you have?

samp-pinch avatar Mar 29 '19 20:03 samp-pinch

YCMD:test(playerid, params[], help) { SendClientMessage(playerid, -1, "simple test"); return true; }

epanomy avatar Mar 31 '19 08:03 epanomy

Example script?

return 1, NOT return true. There is a difference and YCMD has many more return values than just 0 or 1.

What other includes are you using and what order are they in. What plugins do you have loaded. Filterscripts... ANY other information at all would be useful. How are we supposed to help you without more information?

Crayder avatar Apr 01 '19 18:04 Crayder

Includes: #include <a_samp> #include <a_mysql> #include <YSI\y_timers> #include <YSI\y_iterate> #include <YSI\y_va> #include <YSI\y_commands>

Plugins: mysql (loading succesfully)

It's not working too with return 1..

epanomy avatar Apr 03 '19 12:04 epanomy