SA-MP Forums Archive
Define Time +REP! - 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: Define Time +REP! (/showthread.php?tid=332579)



Define Time +REP! - Gooday - 08.04.2012

Hello im searching from 2 days how to make: Jail ID Seconds....Please help!


Jail ID, Seconds, set the player pos X,Y,Z after the seconds are expired SpawnPlayer(playerid);


Re: Define Time +REP! - .FuneraL. - 08.04.2012

pawn Код:
forward JailTime(playerid)

public JailTime(playerid)
{
    SetPlayerPos(playerid, "Coordinates");
    GivePlayerMoney(playerid, -5000);
    return 1;
}

-----------------------------------------------

//YourCode
SetTimerEx("JailTime", 60000, false, "d", playerid);
SpawnPlayer(playerid);
What you looking for?


Re: Define Time +REP! - Gooday - 08.04.2012

How could I set this as cmd?

CMD:jail

Jail ID Seconds