28.03.2010, 14:31
When i
#include <a_samp> and
#include <a_npc> and i use this command
new string[255];
public OnPlayerSpawn(playerid)
{
format(string,sizeof(string),"НРдГ");
SendChat(string);
return 1;
}
or any command in a_npc.inc it will error all like this error 017: undefined symbol "SendChat"
but when i do like this
#include <a_npc> (change position)and
#include <a_samp> and i use this command
new string[255];
public OnPlayerSpawn(playerid)
{
format(string,sizeof(string),"НРдГ");
SendChat(string);
return 1;
}
it error like this warning 235: public function lacks forward declaration (symbol "OnPlayerSpawn")
can anybody tell me.
#include <a_samp> and
#include <a_npc> and i use this command
new string[255];
public OnPlayerSpawn(playerid)
{
format(string,sizeof(string),"НРдГ");
SendChat(string);
return 1;
}
or any command in a_npc.inc it will error all like this error 017: undefined symbol "SendChat"
but when i do like this
#include <a_npc> (change position)and
#include <a_samp> and i use this command
new string[255];
public OnPlayerSpawn(playerid)
{
format(string,sizeof(string),"НРдГ");
SendChat(string);
return 1;
}
it error like this warning 235: public function lacks forward declaration (symbol "OnPlayerSpawn")
can anybody tell me.