01.11.2012, 17:55
Hey guys, Is it possible to create a NPC which has a ID, so I can test some scripts.
new npcname[MAX_PLAYER_NAME];
GetPlayerName(playerid, npcname, sizeof(npcname));
if(!strcmp(npcname, "yourbotnamehere", true))
{
yourbotnamevariable = playerid;
return 1;
}