03.10.2009, 20:55
So forget the code over me: -.-
It is spawned.
I want to make that everyone see the bot on the skin selection... 
Can you correct it then please?
Код:
#include <a_samp>
public OnFilterScriptInit()
{
ConnectNPC("B0T", "B0T");
return 1;
}
public OnPlayerSpawn(playerid)
{
if(!IsPlayerNPC(playerid)) return 0;
new NPCName[MAX_PLAYER_NAME];
GetPlayerName(playerid, NPCName, 64);
if(!strcmp(NPCName, "B0T", true)) {
SetPlayerInterior(playerid, 2);
SetSpawnInfo( playerid, 0, 152, 1958.33, 1343.12, 15.36, 269.15, 31, 1000, 0, 0, 0, 0 );
}
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
if(IsPlayerNPC(playerid)) {
return 1;
}
Quote:
|
Originally Posted by Jay_
The bot can only follow instructions when it is spawned, not when it is choosing a skin.
|
Quote:
|
Originally Posted by Beaver07
please explain wat you are trying to do
|

Quote:
|
Originally Posted by Beaver07
Players cannot spawn because it is return 0; and onplayerrequestclass is being stopped from calling
|

