SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 30/06/2012, 09:29 PM   #1
PaulDinam
Gangsta
 
Join Date: Jun 2011
Posts: 887
Reputation: 45
Default Help with ZCMD

Everytime i add a command it compiling good but this is an exmaple:

CMD:me(playerid, params[])
{
if(isnull(params)) return SendClientMessageEx(playerid, COLOR_WHITE, "USAGE: /me [action]");
new string[128];
format(string, sizeof(string), "* %s %s", GetPlayerNameEx(playerid), params);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE);
return 1;
}

the error is
Code:
Current directory: C:\Users\Paul\Desktop\MyOwnRP\gamemodes
rp.pwn(344) : warning 203: symbol is never used: "me"
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


1 Warning.
================ READY ================
PaulDinam is offline   Reply With Quote
Old 30/06/2012, 09:34 PM   #2
WagnerPM
Big Clucker
 
Join Date: Apr 2012
Location: US
Posts: 89
Reputation: 18
Default Re: Help with ZCMD

Put #include <zcmd>
WagnerPM is offline   Reply With Quote
Old 30/06/2012, 09:36 PM   #3
Toreno
Gangsta
 
Join Date: Nov 2010
Posts: 725
Reputation: 41
Default Re: Help with ZCMD

Have you added "#include <zcmd>" at the top of your gamemode/filterscript? if not, do so!

EDIT: I have just tested what's wrong when zcmd is not included and it's as same problem as this. Include it...
Toreno is offline   Reply With Quote
Old 30/06/2012, 09:44 PM   #4
PaulDinam
Gangsta
 
Join Date: Jun 2011
Posts: 887
Reputation: 45
Default Re: Help with ZCMD

Ohh i forgot. thanks
question:
i made a register login system how i disable that SPAWN selection button
PaulDinam is offline   Reply With Quote
Old 30/06/2012, 09:54 PM   #5
WagnerPM
Big Clucker
 
Join Date: Apr 2012
Location: US
Posts: 89
Reputation: 18
Default Re: Help with ZCMD

Add this in your login system.
pawn Code:
SpawnPlayer(playerid);
WagnerPM 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
[Tutorial] STRCMP and ZCMD - how to change your commands to ZCMD Swyft Tutorials 12 14/01/2015 09:58 PM
Need Help ZCMD [C:\server\pawno\include\ZCMD.inc:85] TheB0ss123 Scripting Help 0 28/06/2012 03:35 AM
zcmd little help rinori Scripting Help 1 05/01/2012 10:19 AM
HELP with zcmd ServerScripter Help Archive 9 20/08/2011 12:50 AM


All times are GMT. The time now is 07:14 AM.


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