SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Includes

Reply
 
Thread Tools Display Modes
Old 13/01/2016, 08:09 PM   #531
Rokzlive
Gangsta
 
Rokzlive's Avatar
 
Join Date: Aug 2010
Location: Winder, GA USA
Posts: 577
Reputation: 12
Default Re: [INC] zcmd 0.3.1 | Fast & Simple Command Processor (updated 30/10/2009)

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?
__________________
================================
Nickolas C Shaffer
Hobbiest Pawn Coder
================================
Rokzlive is offline   Reply With Quote
Old 13/01/2016, 08:11 PM   #532
Crayder
Banned
 
Join Date: Sep 2013
Location: Flames of Hell
Posts: 3,324
Reputation: 652
Default Re: [INC] zcmd 0.3.1 | Fast & Simple Command Processor (updated 30/10/2009)

Quote:
Originally Posted by Rokzlive View Post
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.
Crayder is offline   Reply With Quote
Old 28/05/2017, 12:00 AM   #533
Mobtiesgangsa
Big Clucker
 
Mobtiesgangsa's Avatar
 
Join Date: Oct 2016
Location: The Strip
Posts: 153
Reputation: 16
Default Re: [INC] zcmd 0.3.1 | Fast & Simple Command Processor (updated 30/10/2009)

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]?
Mobtiesgangsa is offline   Reply With Quote
Old 08/10/2017, 01:00 PM   #534
metelicgamer
Little Clucker
 
metelicgamer's Avatar
 
Join Date: Sep 2017
Posts: 14
Reputation: 0
Default Re: [INC] zcmd 0.3.1 | Fast & Simple Command Processor (updated 30/10/2009)

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

help
metelicgamer is offline   Reply With Quote
Old 08/10/2017, 01:50 PM   #535
RoyalEmpire
Little Clucker
 
Join Date: Oct 2017
Location: Hacking Place
Posts: 49
Reputation: 2
Default Re: [INC] zcmd 0.3.1 | Fast & Simple Command Processor (updated 30/10/2009)

remove that "grove"
it would written like this
Code:
new grove;
RoyalEmpire is offline   Reply With Quote
Old 08/10/2017, 02:31 PM   #536
whadez
Big Clucker
 
whadez's Avatar
 
Join Date: Jun 2014
Location: Hungary
Posts: 119
Reputation: 21
Default Re: [INC] zcmd 0.3.1 | Fast & Simple Command Processor (updated 30/10/2009)

#pragma unused grove
or just remove the declared variable called grove.
__________________
Reference:
(Laravel, Vue.js, NuxtJS SSR, JWT) LS:RP - Hungary [Click Here]
(Laravel, Vue.js) RC:RP [Click Here]
(Laravel, Vue.js) LS:RP MTA [Click Here]
(Laravel) LimeGaming MTA [Click Here]
(Laravel) Blue Lake Roleplay [Click Here]

I'm willing to take webdevelopment jobs. Contact me for info.
Discord: whadez#4817
whadez is offline   Reply With Quote
Old 08/10/2017, 03:04 PM   #537
Variable™
Gangsta
 
Variable™'s Avatar
 
Join Date: Jul 2015
Posts: 823
Reputation: 200
Default Re: [INC] zcmd 0.3.1 | Fast & Simple Command Processor (updated 30/10/2009)

Quote:
Originally Posted by RoyalEmpire View Post
remove that "grove"
it would written like this
Code:
new grove;
Quote:
Originally Posted by whadez View Post
#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:
Code:
cmd:grove(playerid)
{
	return 1;
}
Which will show the same:
Code:
symbol is never used: "grove"
Writing anything like:
Code:
something:grove(playerid)
{
	return 1;
}
Shows:
Code:
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:

Code:
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.
Variable™ is offline   Reply With Quote
Old 29/01/2019, 03:29 PM   #538
Gabi3
Little Clucker
 
Join Date: Dec 2018
Posts: 7
Reputation: 0
Default Re: [INC] zcmd 0.3.1 | Fast & Simple Command Processor (updated 30/10/2009)

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?
Gabi3 is offline   Reply With Quote
Old 23/06/2019, 09:54 PM   #539
Botato
Banned
 
Join Date: Jun 2019
Location: Argentina
Posts: 2
Reputation: 12
Default Re: [INC] zcmd 0.3.1 | Fast & Simple Command Processor (updated 30/10/2009)

¿Pawn.cmd or ZCMD?
Botato is offline   Reply With Quote
Old 11/05/2020, 06:34 AM   #540
bielgera1
Little Clucker
 
Join Date: May 2020
Posts: 31
Reputation: 0
Default Re: [INC] zcmd 0.3.1 | Fast & Simple Command Processor (updated 30/10/2009)

nossa
bielgera1 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[HowTo] Fast command processor: DCMD (0.3 Ready) DracoBlue Help Archive 8 28/11/2010 11:13 AM
fast command processor [mad]MLK Help Archive 1 22/08/2009 01:32 AM
Fast rcon command processor: RCMD (modified DCMD) Correlli Filterscripts 7 01/08/2009 12:02 PM
[INC+FS] Aero File Processor by Luby * Updated! luby Filterscripts 15 14/05/2009 01:07 PM


All times are GMT. The time now is 04:30 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.