Not getting what i am compiling. -
Akeem - 11.03.2018
Hey guys, i am compiling a script and its not outputting what i compiled. The script was successfully compiled and lunched but when i am using the commands they are not working. Also i put in a cmd /commands and when i use the cmd in game i am getting a totally different output. how is this possible
Re: Not getting what i am compiling. -
KaRToNiToS - 11.03.2018
Can you show us an example?
Re: Not getting what i am compiling. -
Akeem - 11.03.2018
i have has command:
Код:
if(strcmp(cmd, "/cds", true) == 0){
SendClientMessage(playerid, COLOR_WHITE,"This is a test command");
return 1;
}
i compile it and it was successful, the launched the server which was also successful. When i use the command its not working. Is there anyway to hide the commands of a gamemode in an external file or something?
Re: Not getting what i am compiling. -
Akeem - 12.03.2018
what does this error means:
Код:
error 004: function "IsANoTrunk" is not implemented
The error is in this If statement:
Код:
forward IsANoTrunk(carid); // Does carid needs to be vehicleid instead?
if(IsANoTrunk(result))
{
SendClientMessage(playerid, COLOR_GREY, " This vehicle doesn't have the trunk !");
return 1;
}
Re: Not getting what i am compiling. -
Sew_Sumi - 12.03.2018
It means that it's not being used.
Are you using pragmas to suppress other errors? Or are you simply posting up the top error, neglecting the rest of the error codes.
And is that function in the same script as where it's put?
Like, gamemode.pwn contains the function and the usage, or is it part of an include that you are using, and including into your script where you are using it in there?
Re: Not getting what i am compiling. -
Akeem - 12.03.2018
I'm using any pragmas to suppress other errors and its apart of my gamemode not an include.
Re: Not getting what i am compiling. -
Sew_Sumi - 13.03.2018
Quote:
Originally Posted by Akeem
I'm using any pragmas to suppress other errors
|
Are you missing a not in there, or are you seriously using pragmas. If so comment them out and recompile.
Re: Not getting what i am compiling. -
Akeem - 13.03.2018
i meant "not using any" sorry