13.07.2011, 19:42
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.
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;
}