29.05.2016, 16:09
i have some errors when i use this script
my includes :
my errors :
thank for the help
PHP код:
CMD:me(playerid, params[])
{
new string[128], action[100];
if(sscanf(params, "s[100]", action))
{
SendClientMessage(playerid, 0xAA3333AA, "[ERREUR]Utilise : /me [action]");
return 1;
}
else
{
format(string, sizeof(string), "* %s %s", GetName(playerid), action);
ProxDetector(30, playerid, string, 0xC2A2DAAA);
}
return 1;
}
PHP код:
#include <a_samp>
#include <zcmd>
#include <sscanf2>
#include <foreach>
Код:
C:\Users\mickael\Desktop\Serveur SCP\gamemodes\SCPRP.pwn(193) : error 017: undefined symbol "GetName" C:\Users\mickael\Desktop\Serveur SCP\gamemodes\SCPRP.pwn(194) : error 017: undefined symbol "ProxDetector" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors.