[pomoc]odbrojavanje

Započeo [Euro Samp]Shadow, Avgust 04, 2013, 21:40:35 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

skripta koju koristim:Nije vazno
detalna opis problema kako da napravim da odbrovaja npr htio bih napravit za glad system da mi se odbrojava sto posto pa devedeset i tako
ako neko zna nek pomogne nmg shvatit nikako

Nesto ovako?
tajmer


forward Helti(playerid);
public Helti(playerid)
{
new string[50];
SetPlayerHealth(playerid, GetPlayerHealth(playerid)-1);
format(string, sizeof(string), "Helt: %d" GetPlayerHealth(playerid))
GameTextForPlayer(playerid, string, 60000, 3);
return 1;
}


I pod onplayerconect samo
SetTimerEx("Helti", 60000, true, "i", playerid);

Nadam se da to radi
RESPECT: Blaeks, Yui_Sang, Gagi, Kapetan Husein, Luksa, Slay, Denis_Lapi, Zoran(Dude)

Programski jezici koje koristim: C, C#, Visual Basic, HTML, CSS, PHP (tek ucim).


nesto nekakve erore dobijem daj pogledaj
C:\Users\dominik\Desktop\Vortex Gaming\gamemodes\VGRPGv1.pwn(51483) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\dominik\Desktop\Vortex Gaming\gamemodes\VGRPGv1.pwn(51483) : warning 202: number of arguments does not match definition
C:\Users\dominik\Desktop\Vortex Gaming\gamemodes\VGRPGv1.pwn(51483) : error 001: expected token: ";", but found ")"
C:\Users\dominik\Desktop\Vortex Gaming\gamemodes\VGRPGv1.pwn(51483) : error 029: invalid expression, assumed zero
C:\Users\dominik\Desktop\Vortex Gaming\gamemodes\VGRPGv1.pwn(51483) : fatal error 107: too many error messages on one line

linija

format(string, sizeof(string), "Glad: %d" GetPlayerHealth(playerid))