Specing after death
#1

Hi all,i need a FS.

When a player death,they will spec a random player for 10 seconds..

Thanks
Reply
#2

pawn Код:
new pID = random(MAX_PLAYERS);
TogglePlayerSpectating(playerid, 1);
PlayerSpectatePlayer(playerid, pID);

// start a timer with no repeat that starts after 10 sec's.
now
TogglePlayerSpectating(playerid, 0);
// spawn the player
BTW: this should be in the request section....
Reply
#3

Thanks but..where i need to paste that code?
Reply
#4

Lol excuse me, ur advertising about THE BEST TDM EVER..

"OIN NOW AT CRAZY TDM SERVER!

THE BEST TDM EVER! ADD IT TO YOUR FAVOURITES!

=> 94.23.146.149:3500 <="

And you don't even know where to put the single piece of code?

Under OnPlayerDeath ofc..
Reply
#5

ahaha man soz im a beginner scripter..thanks for the help
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)