Not getting what i am compiling.
#1

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
Reply
#2

Can you show us an example?
Reply
#3

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?
Reply
#4

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;
               				}
Reply
#5

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?
Reply
#6

I'm using any pragmas to suppress other errors and its apart of my gamemode not an include.
Reply
#7

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.
Reply
#8

i meant "not using any" sorry
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)