I need this!
#1

Hi I have a server with my friend Daniel and I know something:
We have Gang War turf server, we need a script like this:
I need a script which spawn an armor on each gang base.Can someone give it to me?
Reply
#2

no but it seems to be you are using turfwar
but jou could do something like this:
Код:
public OnPlayerSpawn(playerid)
{
  SetPlayerArmour(playerid, 100);
  return 1;
}
it gives you every time you spawn
Reply
#3

No, I wanna an armor like in Novocaine, at every gang base.
Reply
#4

Did you check the gamemode release section? That would be a great place to see what is available to you.
Reply
#5

I added the armours, so who needs the codes, I will put them here!
Reply
#6

Just post them so when people seach next they can use it.
Reply
#7

OK, how I am home I will post the code!
Reply
#8

Use pickups I believe is what you need, if your any good at copy and pasting, copy and paste this but change the co-ordinates for them.
new armorpickup;


armorpickup = AddStaticPickup( 1242, 2, 1503.3359, 1432.3585, 10.1191 );

armorpickup = AddStaticPickup( 1242, 2, 1503.3359, 1432.3585, 10.1191 );

armorpickup = AddStaticPickup( 1242, 2, 1503.3359, 1432.3585, 10.1191 );

public OnPlayerPickUpPickup(playerid, pickupid)
{
if (pickupid == armorpickup)
{
SetPlayerArmour(playerid, 100);
}
}


Hope I helped
Reply
#9

Quote:
Originally Posted by NeRoSiS
Use pickups I believe is what you need, if your any good at copy and pasting, copy and paste this but change the co-ordinates for them.
new armorpickup;


armorpickup = AddStaticPickup( 1242, 2, 1503.3359, 1432.3585, 10.1191 );

armorpickup = AddStaticPickup( 1242, 2, 1503.3359, 1432.3585, 10.1191 );

armorpickup = AddStaticPickup( 1242, 2, 1503.3359, 1432.3585, 10.1191 );

public OnPlayerPickUpPickup(playerid, pickupid)
{
if (pickupid == armorpickup)
{
SetPlayerArmour(playerid, 100);
}
}


Hope I helped
Yeah, it's something like this...
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)