Author Topic: system of payday.  (Read 3128 times)

0 Members and 1 Guest are viewing this topic.

Offline NIPNIC

  • Street Thug
  • *
  • Posts: 2
    • View Profile
system of payday.
« on: April 13, 2011, 11:08:52 am »
very simple.

on top of your gamemode put.

Code: [Select]
forward Payday();
now in OnGameModeInit() Put.

Code: [Select]
SetTimer("Payday",600000,1); // 600000 = 10 Minutes !
Now you need to create a public.

Code: [Select]
public Payday()
{
for(new i=0; i<=MAX_PLAYERS;i++)GivePlayerMoney(i, 1000);
SendClientMessageToAll(COLOR_GREEN,"PayDay: 1000$ :D");
}

if you want to know exactly how many seconds, minutes, hours or even months you can download the SetTimer Converter: http://www.4shared.com/file/AppbWJ30/Converter.html

 :D


Offline Skirmant

  • Made Man
  • ***
  • Posts: 134
    • View Profile
Re: system of payday.
« Reply #1 on: April 13, 2011, 11:46:05 am »
Wrong section. You should of posted this in the pawn showroom.

http://forum.vicecitymultiplayer.com/index.php?board=29.0

yazeen

  • Guest
Re: system of payday.
« Reply #2 on: April 21, 2011, 01:26:52 pm »
its Simple Anyway Good Work and Wrong section post this in pawno script realeases lol  :D

Offline sseebbyy

  • VC:MP Veteran
  • *****
  • Posts: 774
  • Immortal VC:MP Player
    • View Profile
    • Zombie Invasion => Server Forum [DEAD PROJECT]
Re: system of payday.
« Reply #3 on: April 21, 2011, 01:34:51 pm »
GivePlayerMoney have bug man...

Use:

SetPlayerMoney(playerid,GetPlayerMoney(playerid) + 1000);

And... Wrong Section ! Agree with you Skirmant and yazeen

Need This Move In Showroom Pawn !
« Last Edit: April 21, 2011, 01:37:44 pm by sseebbyy »

Quote
Painful/Noob scripters acts like: I Am The Best Scripter Because I Announce My Releases With Big Font Size Without Giving Too Much Info' In The Hope They All Will Download And Check It. I Ignore Bad Replies, Replies That I Could Learn From, And Replies With So Much Text.