• Welcome to Vice City Multiplayer.
 
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - NIPNIC

#1
mIRC/pawn Scripting / system of payday.
April 13, 2011, 09: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