[Ajuda] Warrinrg
#4

pawn Код:
//1 beagle driver
//1 coach driver
//1 boat driver
//3 pilots - For LS LV and SF
//
// special thanks to redirect_left for fexing errors :)
//------------------------------------------------------------------------------
//==============================================================================
#include <a_samp>
#define COLOR_GREEN 0x33AA33AA

new Bus;

public OnGameModeInit()
{

ConnectNPC("Bus","Bus");


Bus =AddStaticVehicle(437,-1988.0057,116.6116,27.6411,0.6686,75,59);


print("  Npc Bus Bmc Pack Loaded!");
print("   By:Bruno_Rj!"); //Please do not remove this, this is all I ask in return
return 1;
}

public OnPlayerSpawn(playerid)
{
if(!IsPlayerNPC(playerid)) return 0;
new playername[64];
GetPlayerName(playerid,playername,64);

if(!strcmp(playername,"Bus", true))
{
SetSpawnInfo(playerid,0,255,1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0 );
PutPlayerInVehicle(playerid, Bus,0);
new Text3D:Bus2 = Create3DTextLabel("NPC_BusDriver(ID:2)", 0x33AA33AA, 30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(Bus2, playerid, 0.0, 0.0, 0.5);
}
return 1;
}
////////////////////////////////////////////////////////////////////////////////
//End of the script
Reply


Messages In This Thread
Warrinrg - by _LorD_ - 17.08.2012, 21:05
Re: Warrinrg - by Bruno Alves - 17.08.2012, 21:12
Re: Warrinrg - by _LorD_ - 17.08.2012, 21:15
Re: Warrinrg - by @Riichard - 17.08.2012, 21:21
Re: Warrinrg - by _LorD_ - 17.08.2012, 21:27

Forum Jump:


Users browsing this thread: 1 Guest(s)