How I can make Protection Spawn
#1

Guys I want make Players when they will spawn they will be protected 5 seconds
Reply
#2

This solves your problem!
https://sampforum.blast.hk/showthread.php?tid=137642

First time i helped someone on this forum
Reply
#3

Quote:
Originally Posted by Johny_James
Посмотреть сообщение
This solves your problem!
https://sampforum.blast.hk/showthread.php?tid=137642

First time i helped someone on this forum
Thank you bro But The Download Not Found
Reply
#4

oh,then sorry i didn't know for that...
Reply
#5

Quote:
Originally Posted by Johny_James
Посмотреть сообщение
oh,then sorry i didn't know for that...
No Problem ) Thanks anyway
Reply
#6

i help you, give me a few minutes to put it together
Reply
#7

Quote:
Originally Posted by willsuckformoney
Посмотреть сообщение
i help you, give me a few minutes to put it together
Take your Time Bro and Thank you so much
Reply
#8

let him use this tut. it will help him:d

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
   if(IsPlayerInRangeOfPoint(killerid, 20, 1587, -1693, 7)) // It means that if the player is within 20 meter range some around the Garage of LSPD the following will happen :
   {
    SetPlayerHealth(killerid, 0); // my punishment for the Spawn Killer is Death.
    SendClientMessage(killerid, Red, "SERVER : You can't spawn kill!"); // then sends him a message that he can't spawn kill
   }
   return 1;
}
http://forum.sa-mp.com/showthread.ph...ght=anti+spawn
Reply
#9

^^^^^^^^^^^^^^^^^
Reply
#10

At OnPlayerSpawn, make a timer and give health 999 to player.

Make an individual timer for only spawned player.
pawn Код:
SetTimerEx
make a forward - for timer and public for it or just use stock etc..

pawn Код:
forward ProtectionStop(playerid)
public ProtectionStop(playerid)
{
SetPlayersHealth(playerid,100);
}
Reply
#11

This is an anti spawn kill .. I want protection spawn
Reply
#12

Quote:
Originally Posted by GaGlets®
Посмотреть сообщение
At OnPlayerSpawn, make a timer and give health 999 to player.

Make an individual timer for only spawned player.
pawn Код:
SetTimerEx
make a forward - for timer and public for it or just use stock etc..

pawn Код:
forward ProtectionStop(playerid)
public ProtectionStop(playerid)
{
SetPlayersHealth(playerid,100);
}
I'm noob ;( Can you explain to me more
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)