03.08.2014, 22:40
So basically when I type in the OOC command with the text it just shows : [OOC] : (( Hello )).
The script doesn't recognize GetPlayerNameEx.
Anyways, here's the error:
And here's the code:
Thanks in advance.
The script doesn't recognize GetPlayerNameEx.
Anyways, here's the error:
Код:
C:\Users\Gaming\Desktop\SA-MP Pawno\gamemodes\weasels.pwn(75) : error 017: undefined symbol "GetPlayerNameEx" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
pawn Код:
CMD:ooc(playerid, params[])
{
new string[128];
if (isnull(params)) return SendClientMessage(playerid, COLOR_RED, "USAGE: /ooc [MESSAGE]");
format(string, sizeof(string), "[OOC] %s: (( %s ))", GetPlayerNameEx(playerid), params);
SendClientMessageToAll(COLOR_GREY, string);
return 1;
}