SA-MP Forums Archive
[Include] [INC] zcmd 0.3.1 | Fast & Simple Command Processor (updated 30/10/2009) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] [INC] zcmd 0.3.1 | Fast & Simple Command Processor (updated 30/10/2009) (/showthread.php?tid=91354)

Pages: 1 2 3 4 5 6


Re: [INC] zcmd 0.3.1 | Fast & Simple Command Processor (updated 30/10/2009) - N0FeaR - 12.11.2015

Good job!


Re: [INC] zcmd 0.3.1 | Fast & Simple Command Processor (updated 30/10/2009) - Rokzlive - 13.01.2016

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?


Re: [INC] zcmd 0.3.1 | Fast & Simple Command Processor (updated 30/10/2009) - Crayder - 13.01.2016

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.


Re: [INC] zcmd 0.3.1 | Fast & Simple Command Processor (updated 30/10/2009) - Mobtiesgangsa - 28.05.2017

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]?


Re: [INC] zcmd 0.3.1 | Fast & Simple Command Processor (updated 30/10/2009) - metelicgamer - 08.10.2017

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

help


Re: [INC] zcmd 0.3.1 | Fast & Simple Command Processor (updated 30/10/2009) - RoyalEmpire - 08.10.2017

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



Re: [INC] zcmd 0.3.1 | Fast & Simple Command Processor (updated 30/10/2009) - whadez - 08.10.2017

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


Re: [INC] zcmd 0.3.1 | Fast & Simple Command Processor (updated 30/10/2009) - Variable™ - 08.10.2017

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.


Re: [INC] zcmd 0.3.1 | Fast & Simple Command Processor (updated 30/10/2009) - Gabi3 - 29.01.2019

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?


Re: [INC] zcmd 0.3.1 | Fast & Simple Command Processor (updated 30/10/2009) - Botato - 23.06.2019

їPawn.cmd or ZCMD?


Re: [INC] zcmd 0.3.1 | Fast & Simple Command Processor (updated 30/10/2009) - bielgera1 - 11.05.2020

nossa