My friends command problem
#1

Ok all i got this error.
Код:
C:\Documents and Settings\karu\My Documents\samp03e_svr_R2_win32\gamemodes\driftunion1.2.2.pwn(94) : error 001: expected token: ",", but found "-string-"
C:\Documents and Settings\karu\My Documents\samp03e_svr_R2_win32\gamemodes\driftunion1.2.2.pwn(94) : warning 215: expression has no effect
C:\Documents and Settings\karu\My Documents\samp03e_svr_R2_win32\gamemodes\driftunion1.2.2.pwn(94) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\karu\My Documents\samp03e_svr_R2_win32\gamemodes\driftunion1.2.2.pwn(94) : error 029: invalid expression, assumed zero
C:\Documents and Settings\karu\My Documents\samp03e_svr_R2_win32\gamemodes\driftunion1.2.2.pwn(94) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
And pawn code
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/health", cmdtext, true, 10) == 0)
    {
        SetPlayerHealth(playerid, 100);
        SendClientMessage(playerid, 0x33CCFFAA "You have been healed");
        return 1;
    }
    return 0;
}
What is the problem then?
Reply


Messages In This Thread
My friends command problem - by Ryox175 - 26.11.2012, 14:01
Re: My friends command problem - by Camorra - 26.11.2012, 14:14
Re: My friends command problem - by Ryox175 - 26.11.2012, 14:21

Forum Jump:


Users browsing this thread: 1 Guest(s)