[Include] [INC] zcmd 0.3.1 | Fast & Simple Command Processor (updated 30/10/2009)

Good job!
Reply

This include caused my entire script to error on the PUBLIC functions. When included, it errors. When removed, it compiles perfectly fine. Anyone else experience this?
Reply

Quote:
Originally Posted by Rokzlive
Посмотреть сообщение
This include caused my entire script to error on the PUBLIC functions. When included, it errors. When removed, it compiles perfectly fine. Anyone else experience this?
Nope, nobody except you. So it is definitely something in your script.
Reply

How can i make a function example /location

and to display player location

example: /location
[chat] : Playername(without the ID): is located in [/greencolor]Blueberry Acres[/greencolor]?
Reply

D:\CGRP(UG-EDIT)\gamemodes\vano.pwn(111) : warning 203: symbol is never used: "grove"

help
Reply

remove that "grove"
it would written like this
Код:
new grove;
Reply

#pragma unused grove
or just remove the declared variable called grove.
Reply

Quote:
Originally Posted by RoyalEmpire
Посмотреть сообщение
remove that "grove"
it would written like this
Код:
new grove;
Quote:
Originally Posted by whadez
Посмотреть сообщение
#pragma unused grove
or just remove the declared variable called grove.
That's not the case. It can be basically just that he's using something like:
Код:
cmd:grove(playerid)
{
	return 1;
}
Which will show the same:
Код:
symbol is never used: "grove"
Writing anything like:
Код:
something:grove(playerid)
{
	return 1;
}
Shows:
Код:
symbol is never used: "grove"
The reason why this happens is using an invalid tag, tags are listed in the example codes above.
Such as:

Код:
CMD:
COMMAND:
While cmd is not valid, because the tag names are case sensitive.
I highly doubt 'grove' is an unused variable, but just an invalid tag placement.
Reply

pawno\include\zcmd.inc(35) : error 025: function heading differs from prototype
pawno\include\zcmd.inc(36) : error 025: function heading differs from prototype

And the lines are these:

forward OnPlayerCommandReceived(playerid, cmdtext[]);
forward OnPlayerCommandPerformed(playerid, cmdtext[], success);

How to fix this?
Reply

їPawn.cmd or ZCMD?
Reply

nossa
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)