Hallo,
das ist der Abschnitt aus dem Script:
if (strfind(text, "meinbusbot") != -1)
{
if(IsPlayerInRangeOfPoint(playerid, 15, -1559.5802,-464.8181,14.0000))
{
new string[80], name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
SendCommand("/o hallo hier spricht der Busbot :D");
format(string, sizeof(string), "Hey %s! You are so mean, you make me so sad!", name);
SendChat(string);
return 0;
}
}
...und hier die Erros:
C:\Users\Peder\Desktop\meinscript.pwn(71907) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Peder\Desktop\meinscript.pwn(71910) : error 017: undefined symbol "SendCommand"
C:\Users\Peder\Desktop\meinscript.pwn(71912) : error 017: undefined symbol "SendChat"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
Könnt ihr mir Helfen?
LG
Sponge-Manu