07.01.2012, 19:33
I made my NPC and it is suppost to spawn in a coach but it spawns in blueberry:
Here is the npc pwn code: http://pastebin.com/6kcnBbbw
Thanks
Код:
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; }
Thanks