SA-MP Forums Archive
Payday help - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Payday help (/showthread.php?tid=163140)



Payday help - heroyou1221 - 26.07.2010

hello, can someone make me a script like every hour give pleader 1 2000$ how i make it i use larp script it give random paycheck and i don't know how to change it i realy need help...


Re: Payday help - Yamoo - 26.07.2010

Can you give us your paycheck code, so i or we can edit it?


Re: Payday help - Kyosaur - 26.07.2010

I can answer this very quickly, no.

There are a ton of payday scripts on these forum, search around, look at them, and learn from them :P.


Re: Payday help - heroyou1221 - 26.07.2010

Quote:
Originally Posted by Kyosaur
Посмотреть сообщение
I can answer this very quickly, no.

There are a ton of payday scripts on these forum, search around, look at them, and learn from them :P.
i have search them put i have Payday system in script i use larp script


Re: Payday help - Kyosaur - 26.07.2010

Quote:
Originally Posted by heroyou1221
Посмотреть сообщение
i have search them put i have Payday system in script i use larp script
Remove it then add one that works for you? You can pastebin the script, and someone might help you remove it (people are sometimes nice). But for the "can you make me.." thing, its probably always going to be a no (there is a scripting request thread for a reason , i suggest you either check that out, or search a bit).


Re: Payday help - Yamoo - 26.07.2010

Hm, suppose if you like send me a forum pm with the code i'll work something out.


Re: Payday help - R@ger - 26.07.2010

use timers

Код:
forward payday();

Under gamemodeinit

SetTimer("payday",timehere,true);

public payday()
{
  for(new i = 0; i < MAX_PLAYERS; i++)
  { 
   SafeGivePlayerMoney(i, amount);
  }
}



Re: Payday help - heroyou1221 - 26.07.2010

Quote:
Originally Posted by R@ger
Посмотреть сообщение
use timers

Код:
forward payday();

Under gamemodeinit

SetTimer("payday",timehere,true);

public payday()
{
  for(new i = 0; i < MAX_PLAYERS; i++)
  { 
   SafeGivePlayerMoney(i, amount);
  }
}
thanks but can you make pleader 1 get 2000 and pleader 2 1000 and make example and i can make more pleader 3.


Re: Payday help - FUNExtreme - 26.07.2010

player not pleader


Re: Payday help - Shadow™ - 26.07.2010

pawn Код:
public payday()
{
  for(new i = 0; i < MAX_PLAYERS; i++)
  {
   if(i == 1)
   {
      SafeGivePlayerMoney(i, amount);
   }
   else if(i == 2)
   {
      SafeGivePlayerMoney(i, amount);
   }
  }
}
Might not work, just thought I'd try it ^.^