Zcmd/Sscanf Help would be nice.
#1

Soo. I find ZCMD and SSCANF interesting so I want to start scripting with that, I saw a guide on how to set it up, when I try to make a command, i get four errors (code below)

pawn Код:
C:\Users\Ruby\Documents\0.3c Scripting\gamemodes\TestingZCMD.pwn(92) : error 029: invalid expression, assumed zero
C:\Users\Ruby\Documents\0.3c Scripting\gamemodes\TestingZCMD.pwn(92) : error 017: undefined symbol "cmd_heal"
C:\Users\Ruby\Documents\0.3c Scripting\gamemodes\TestingZCMD.pwn(92) : error 029: invalid expression, assumed zero
C:\Users\Ruby\Documents\0.3c Scripting\gamemodes\TestingZCMD.pwn(92) : fatal error 107: too many error messages on one line
I got the
pawn Код:
#include <zcmd>
#include <sscanf2>
under #include <a_samp>

if you wanna see the cmd i am trying to make here it is

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    COMMAND:heal(playerid, params[])
    {
        SetPlayerHealth(playerid, 50);
        return 1;
    }
    return 0;
}
In advance, Thank you.
Reply


Messages In This Thread
Zcmd/Sscanf Help would be nice. - by rubygta - 05.01.2011, 11:26
Re: Zcmd/Sscanf Help would be nice. - by Cank - 05.01.2011, 11:31
Re: Zcmd/Sscanf Help would be nice. - by rubygta - 05.01.2011, 11:36
Re: Zcmd/Sscanf Help would be nice. - by DarrenReeder - 05.01.2011, 12:22
Respuesta: Zcmd/Sscanf Help would be nice. - by ipsBruno - 05.01.2011, 12:34
Re: Respuesta: Zcmd/Sscanf Help would be nice. - by _rAped - 05.01.2011, 12:49

Forum Jump:


Users browsing this thread: 1 Guest(s)