Job Problem - 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: Job Problem (
/showthread.php?tid=348380)
Job Problem -
Yordan_Kronos - 05.06.2012
Hello this is one job system
pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 455)
{
GivePlayerMoney(playerid, 10000);
GameTextForPlayer(playerid, "~g~You Completed the job, well done!", 3000, 3);
SetVehicleToRespawn(513);
DisablePlayerCheckpoint(playerid);
truckjobrunning = 0;
}
How can i after finish job.To can again after 30 minutes and money to store in bank account? ?.. and when i finish job.. Vehicle from job to back to old position (Respawn)
Sorry for my english
Re: Job Problem -
RenSoprano - 05.06.2012
Yordan you can do it very easy use SetTimerEx("Job", 300000, false, "i", playerid);
Re: Job Problem -
Yordan_Kronos - 05.06.2012
Thanks