[HELP] After spawn commands using Zcmd
#1

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
Reply
#2

Keep it as it is, It'll work
Reply
#3

Quote:
Originally Posted by G4M3Ov3r
Посмотреть сообщение
Keep it as it is, It'll work
Alright, I'll try .. Thanks
Reply
#4

Quote:
Originally Posted by Yaszine
Посмотреть сообщение
Alright, I'll try .. Thanks
Update me, if it didn't
Reply
#5

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;
}
Reply
#6

ZCMD are for commands. This doens't really look like a command ...
Reply
#7

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)