- 0
Problema NRG-500
-
Similar Content
-
Problema turf
By Soryn.,
- 3 answers
- 258 views
-
- 1 reply
- 178 views
-
Problema
By ImJustSlim,
- 3 answers
- 286 views
-
- 2 replies
- 157 views
-
- 1 answer
- 311 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
InceMan
salut am incercat deceva timp sa creiez un stunt care sa fie la fiecare 30 min automat ei imi da Checkpoint-urile e totul in regula ideia este ca atunci cand te duci la el sa il ei nu il pot lua acumasi a doua problema cum as-i putea sa fac ca acel stunt sa porneasca la tot serverul nu sa le deie la fiecare playeri Checkpoint diferite
poze http://imgur.com/a/JotRE
la OnPlayerEnterCheckpoint am asta
if(IsANRG(vid))
{
if(STUNTV[playerid] == 1)
{
new Name = GetPlayerName(playerid);
new randmoney = 3500 + random(90000);
format(string,sizeof(string),"{CF165D}%s A castigat STUNT-ul, acesta a castigat %d$.",FormatNumber(randmoney));
SendClientMessageToAll( COLOR_GREEN, string);
DisablePlayerCheckpoint(playerid);
RemovePlayerMapIcon(playerid, 1274);
DestroyPickup(pickup_event);
SendClientMessage(playerid, COLOR_YELLOW, "STUNT-ul este in perioada de probe Nu este finalizat.");
GivePlayerCash(playerid, randmoney);
Update(playerid, pCashx);
}
}
FiveGame Lands
Pawno Developer, Mapping , Scripter
Since 2016
Link to comment
Share on other sites
19 answers to this question
Recommended Posts