[HELP] After spawn commands using Zcmd - 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: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [HELP] After spawn commands using Zcmd (
/showthread.php?tid=279124)
[HELP] After spawn commands using Zcmd -
Yaszine - 25.08.2011
Hello
I've in the old GM wich using Strcmp, this thing:
pawn Код:
public OnPlayerCommandText(playerid,cmdtext[])
{
if(Spawned[playerid] == 0) return SendClientMessage(playerid, RED, "ERROR: You can use the commands after the spawn.");
//Commands
So, How can I set like this using Zcmd?
Please
Re: [HELP] After spawn commands using Zcmd -
=WoR=G4M3Ov3r - 25.08.2011
Keep it as it is, It'll work
Re : Re: [HELP] After spawn commands using Zcmd -
Yaszine - 25.08.2011
Quote:
Originally Posted by G4M3Ov3r
Keep it as it is, It'll work
|
Alright, I'll try .. Thanks
Re: Re : Re: [HELP] After spawn commands using Zcmd -
=WoR=G4M3Ov3r - 25.08.2011
Quote:
Originally Posted by Yaszine
Alright, I'll try .. Thanks
|
Update me, if it didn't
Re: [HELP] After spawn commands using Zcmd -
=WoR=Varth - 27.08.2011
pawn Код:
public OnPlayerCommandReceived(playerid,cmdtext[])
{
if(Spawned[playerid] == 0)
{
SendClientMessage(playerid, RED, "ERROR: You can use the commands after the spawn.");
return 0;
}
return 1;
}
Re: [HELP] After spawn commands using Zcmd -
Kingunit - 27.08.2011
ZCMD are for commands. This doens't really look like a command ...
Re: [HELP] After spawn commands using Zcmd -
=WoR=Varth - 27.08.2011
Quote:
Originally Posted by Kingunit
ZCMD are for commands. This doens't really look like a command ...
|
It's not a command. It just check a variable before processing a command.