• Welcome to Vice City Multiplayer.
 

system of payday.

Started by NIPNIC, April 13, 2011, 09:08:52 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

NIPNIC

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


Skirmant

I know advance mIRC, average C++, basic Pawn & Squirrel, very basic Java Script.

yazeen

its Simple Anyway Good Work and Wrong section post this in pawno script realeases lol  :D

sseebbyy

#3
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 !