Help me make check - 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 me make check (
/showthread.php?tid=395438)
Help me make check -
Andrew163 - 26.11.2012
Players spawn after participating in a duel, how to check that the player would not SPAWN unless it is in a duel?
Код:
if(playerid == g_DuelingID1) // duelplayer 1
{
SpawnPlayer(g_DuelingID2); // spawn duelplayer 2
g_DuelInProgress = 0;
}
else if(playerid == g_DuelingID2) // duelplayer 2 disconnect
{
SpawnPlayer(g_DuelingID1); // сspawn duelplayer 1
g_DuelInProgress = 0;
}
Re: *** This title is not descriptive - ****** -
Andrew163 - 26.11.2012
Please, help me.