03.05.2012, 23:30
Hello.This unusual "bot" will take you to "ASH"
For all
Add
For all
Add
Further, the
Add:
And in
Add:
Now we need to Bot was able to come on your Server.Open "server.cfg" and there is a line "maxnpc 0" set instead of "0", "1" (the number of Bot'tov)
Then download this File, folder and replace "npcmodes" on my own.
[ame]http://www.youtube.com/watch?v=9tHdjl0zUis[/ame]
Author of Lesson: Rhymed32
For all
PHP код:
#include
PHP код:
#include <a_npc>
PHP код:
new
PHP код:
new Rhymed32;
new Text3D:Rhymed;
PHP код:
public OnGameModeInit()
PHP код:
ConnectNPC("Rhymed32","Rhymed32");
Rhymed32 = CreateVehicle(437, 0.0, 0.0, 5.0, 0.0, 6, 0, 5000);
Rhymed = Create3DTextLabel( "{FFFFFF}Rhymed{EE5555}32", -1, 7.77, 7.77, 7.77, 500.0, 0, 1 );
Attach3DTextLabelToVehicle( Rhymed, Rhymed32, 0.0, 0.0, 3.0 );
PHP код:
public OnPlayerSpawn(playerid)
PHP код:
if(IsPlayerNPC(playerid))
{
new R32_Name[MAX_PLAYER_NAME];
GetPlayerName(playerid, R32_Name, sizeof(R32_Name));
if(!strcmp(R32_Name, "Rhymed32", true))
{
PutPlayerInVehicle(playerid, Rhymed32, 0);
SetSpawnInfo(playerid,0,61,0.0,0.0,0.0,0.0,0,0,0, 0,0,0);
}
return 1;
}
Then download this File, folder and replace "npcmodes" on my own.
[ame]http://www.youtube.com/watch?v=9tHdjl0zUis[/ame]
Author of Lesson: Rhymed32