NPC Spawning in blueberry
#1

I made my NPC and it is suppost to spawn in a coach but it spawns in blueberry:

Код:
ConnectNPC("[BOT]Simpson","bot_bus");

BusBotVehicle = AddStaticVehicle(437,-2274.0593,2320.3589,4.9544,359.6692,79,7); // coach


OnPlayerSpawn

	if(!strcmp(UserInfo[playerid][Name],"[BOT]Simpson",true))
	{
 		SetPlayerSkin(playerid,255);
   		SetPlayerColor(playerid, COLOR_WHITE);

		UserInfo[playerid][Team] = TEAM_CIVIL_DRIVER;

		UserInfo[playerid][Spawned] = 1;
  		PutPlayerInVehicle(playerid,BusBotVehicle,0);
  		return 1;
 	}
Here is the npc pwn code: http://pastebin.com/6kcnBbbw

Thanks
Reply


Messages In This Thread
NPC Spawning in blueberry - by Kyle - 07.01.2012, 19:33
Re: NPC Spawning in blueberry - by TheArcher - 07.01.2012, 20:21
Re: NPC Spawning in blueberry - by FireCat - 07.01.2012, 20:58
Re: NPC Spawning in blueberry - by Kyle - 07.01.2012, 21:16
Re: NPC Spawning in blueberry - by Stigg - 07.01.2012, 22:13

Forum Jump:


Users browsing this thread: 1 Guest(s)