Vice City Multiplayer

VC:MP => mIRC/pawn Scripting => Topic started by: NIPNIC on April 13, 2011, 10:08:52 AM

Title: system of payday.
Post by: NIPNIC on April 13, 2011, 10:08:52 AM
very simple.

on top of your gamemode put.

forward Payday();

now in OnGameModeInit() Put.

SetTimer("Payday",600000,1); // 600000 = 10 Minutes !

Now you need to create a public.

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

Title: Re: system of payday.
Post by: Skirmant on April 13, 2011, 10:46:05 AM
Wrong section. You should of posted this in the pawn showroom.

http://forum.vicecitymultiplayer.com/index.php?board=29.0 (http://forum.vicecitymultiplayer.com/index.php?board=29.0)
Title: Re: system of payday.
Post by: yazeen on April 21, 2011, 12:26:52 PM
its Simple Anyway Good Work and Wrong section post this in pawno script realeases lol  :D
Title: Re: system of payday.
Post by: sseebbyy on April 21, 2011, 12: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 !