Welcome, Please Register or Login

Forums \ GOM SAMP \ Tutorials and Guides \ [TUTORIAL]SA-MP TIMER

Author Message
#1\2009-12-29 14:41

Avatar

Members
2
Offline

Posts: 10

Lithuania
lt Lithuania

Hello all website users.Today i do new sa-mp tutorial.How to Make Timer.Ok Let's start.
First Step:
Top Script Write This Code.
forward timer();
Second Step: //Find ongamemodeinit or onfilterscriptinit line and write after it this code
SetTimer("timer",10000,true); 
//You can change this 10000 numbers
Third Step: // Go in the bottom of and write this code
public timer()
{
SendClientMessage(playerid,0xAA3333AA,"TEST THIS CODE");
// This Code 0xAA3333AA is color..This color is red. You can find all colours codes in wiki.sa-mp.com
Congratulation you are made new timer

Tutorial by Marius

Sorry for my bad english