28.12.2010, 17:52
Quote:
i hope it will would be so cool to make roller coaster kinda thing
can u guys tell me what i must do to make this work ? (after 2 mins comes +1 point to score) Код:
#include <a_samp> forward score(); public OnGameModeInit() { SetTimer("score",120000,true); } public score() { SetPlayerScore(playerid, GetPlayerScore(playerid) + 1); } |
pawn Код:
#include <a_samp>
forward score();
public OnGameModeInit()
{
SetTimer("score",120000,true);
}
public score()
{
for(new i = 0; i < MAX_PLAYERS; i++);
{
SetPlayerScore(i, GetPlayerScore(i) + 1);
}
}