/ooc command error.
#1

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:

Код:
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.
And here's the code:

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;
}
Thanks in advance.
Reply


Messages In This Thread
/ooc command error. - by Weaselpwns - 03.08.2014, 22:40
Re: /ooc command error. - by Stanford - 03.08.2014, 22:42
Re: /ooc command error. - by Weaselpwns - 03.08.2014, 22:44
Re: /ooc command error. - by Weaselpwns - 03.08.2014, 23:23
Re: /ooc command error. - by Stinged - 03.08.2014, 23:27
Re: /ooc command error. - by Diti1 - 04.08.2014, 00:35
Re: /ooc command error. - by ViniBorn - 04.08.2014, 01:39

Forum Jump:


Users browsing this thread: 1 Guest(s)