Undefined Simbol "SendCommand"
#8

pawn Код:
C:\Documents and Settings\xy\Desktop\SAMP\samp03\gamemodes\walkwoods.pwn(115) : warning 236: unknown parameter in substitution (incorrect #define pattern)
C:\Documents and Settings\xy\Desktop\SAMP\samp03\gamemodes\walkwoods.pwn(115) : warning 236: unknown parameter in substitution (incorrect #define pattern)
C:\Documents and Settings\xy\Desktop\SAMP\samp03\gamemodes\walkwoods.pwn(115) : error 029: invalid expression, assumed zero
C:\Documents and Settings\xy\Desktop\SAMP\samp03\gamemodes\walkwoods.pwn(115) : warning 215: expression has no effect
C:\Documents and Settings\xy\Desktop\SAMP\samp03\gamemodes\walkwoods.pwn(115) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\xy\Desktop\SAMP\samp03\gamemodes\walkwoods.pwn(115) : error 029: invalid expression, assumed zero
C:\Documents and Settings\xy\Desktop\SAMP\samp03\gamemodes\walkwoods.pwn(115) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
hmm...

btw this is an exaple taken from wiki.samp
pawn Код:
public OnPlayerText(playerid, text[])
{
    if (strfind(text, "stupid bot") != -1)
    {
        new string[80], name[MAX_PLAYER_NAME];
        GetPlayerName(playerid, name, sizeof(name));
 
        SendCommand("/kill");
        format(string, sizeof(string), "Hey %s! You are so mean, you make me so sad!", name);
        SendChat(string);
    }
    return 1;
}
Reply


Messages In This Thread
Undefined Simbol "SendCommand" - by Amel_PAtomAXx - 13.07.2011, 19:26
Re: Undefined Simbol "SendCommand" - by Calgon - 13.07.2011, 19:31
Re: Undefined Simbol "SendCommand" - by [MG]Dimi - 13.07.2011, 19:32
Re: Undefined Simbol "SendCommand" - by Amel_PAtomAXx - 13.07.2011, 19:35
Re: Undefined Simbol "SendCommand" - by jameskmonger - 13.07.2011, 19:37
Re: Undefined Simbol "SendCommand" - by [MG]Dimi - 13.07.2011, 19:38
Re: Undefined Simbol "SendCommand" - by Calgon - 13.07.2011, 19:38
Re: Undefined Simbol "SendCommand" - by Amel_PAtomAXx - 13.07.2011, 19:42

Forum Jump:


Users browsing this thread: 1 Guest(s)