Hi Leute,
Habe nen Error bei nem say befehl:
ocmd:say(playerid)
{
new text[258], string[128];
if(sscanf(params,"s",text))
{
SendClientMessage(playerid,COLOR_RED,"[Benutzung]: /say [text]");
}
else
{
format(string,sizeof string,"[Server]: %s",text);
SendClientMessageToAll(COLOR_PINK,string);
}
return 1;
}
C:\Users\AddiLikeMc\Desktop\Projekte\samp03dsvr_R2_win32\gamemodes\SelfMade.pwn(1048) : error 017: undefined symbol "params"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.