SA-MP Forums Archive
help,please - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: help,please (/showthread.php?tid=595283)



help,please - oppo1234 - 30.11.2015

I created a pickup dm, how to make players re- spawn after death to dm?


Re: help,please - LSNKevin - 30.11.2015

Show us some of your code to the deathmatch area, Oppo. I'll help you out, mate!


Re: help,please - Jay_Dixon - 01.12.2015

Why not use SetPVarInt(playerid, "Deathmatch", 1); to set them into the match on pickup. Then use GetPVarInt(playerid, "Deathmatch"); to set them back in after death? Then DestroyPVar(playerid, "Deathmatch"); when they decide to leave the deathmatch? Using those three should be able to help you


Re: help,please - oppo1234 - 01.12.2015

Quote:
Originally Posted by Jay_Dixon
Посмотреть сообщение
Why not use SetPVarInt(playerid, "Deathmatch", 1); to set them into the match on pickup. Then use GetPVarInt(playerid, "Deathmatch"); to set them back in after death? Then DestroyPVar(playerid, "Deathmatch"); when they decide to leave the deathmatch? Using those three should be able to help you
can give me code?


Re: help,please - Sew_Sumi - 01.12.2015

Quote:
Originally Posted by oppo1234
Посмотреть сообщение
can give me code?
Stop asking for code... You've been told.

It's Scripting Help, not Script-for-me.


Go here, hire a scripter, or learn to script...

https://sampforum.blast.hk/showthread.php?tid=447813


Matter of fact, who the fuck has given you +rep... You've posted nothing rep worthy, and you simply keep asking the same shit, for people to supply you code, when that's not what these sections that you are using, is for.