[POMOC] Kako da ubacim ovo?

Započeo Sabbath, Februar 15, 2011, 09:31:05 PRE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Skripta koju koristim: DM Mod od 0 koji sam nedavno poceo praviti
Detaljan opis problema: Kako da ubacim ono "Ko prvi ukuca to i to dobija 1 scor i $2564 ".
Dio skripte:/
Neke slike/video za lakse dobivanje pomoci(neobavezno):/

Pa pod public OnPlayerText(playerid, text[])
Dodaj ovo
{
switch(xTestBusy)
{
    case true:
    {
if(!strcmp(xChars, text, false))
{
    new pName[MAX_PLAYER_NAME],string[128];
GetPlayerName(playerid, pName, sizeof(pName));
format(string, sizeof(string), "« \%s\" je pobedio u testu. »", pName);
    SendClientMessageToAll(GREEN, string);
    format(string, sizeof(string), "« Zaradili ste $%d + %d poeni. »", xCash, xScore);
    SendClientMessage(playerid, GREEN, string);
    GivePlayerMoney(playerid, xCash);
SetPlayerScore(playerid, GetPlayerScore(playerid) + xScore);
xReactionTimer = SetTimer("xReactionTest", TIME, 1);
    xTestBusy = false;
}
}
}
return 1;
}

function xReactionProgress()

{

   switch(xTestBusy)

        {

            case true:

            {

                    new string[128];
format(string, sizeof(string), "", (TIME/60000));
xReactionTimer = SetTimer("xReactionTest", TIME, 1);
}

        }

        return 1;

}

function xReactionTest()
{
new
xLength = (random(8) + 2),
string[128]
;
xCash = (random(10000) + 20000);
xScore = (random(2)+1);
format(xChars, sizeof(xChars), "");
Loop(x, xLength) format(xChars, sizeof(xChars), "%s%s", xChars, xCharacters[random(sizeof(xCharacters))][0]);
format(string, sizeof(string), "«Ko prvi napise %s osvaja $%d + %d poena. »", xChars, xCash, xScore);
SendClientMessageToAll(PURPLE, string);
KillTimer(xReactionTimer);
xTestBusy = true;
SetTimer("xReactionProgress", 30000, 0);
return 1;
}

Ali ne znam šta treba definisati tačno :S

sad mi ove errore izbaci:

D:\miso\gta san andreas\GTA San Andreas\samp\gamemodes\gangwars.pwn(161) : error 029: invalid expression, assumed zero
D:\miso\gta san andreas\GTA San Andreas\samp\gamemodes\gangwars.pwn(161) : error 029: invalid expression, assumed zero
D:\miso\gta san andreas\GTA San Andreas\samp\gamemodes\gangwars.pwn(161) : error 029: invalid expression, assumed zero
D:\miso\gta san andreas\GTA San Andreas\samp\gamemodes\gangwars.pwn(161) : fatal error 107: too many error messages on one line


a linija 161      switch(xTestBusy)
Poslednja Izmena: Februar 15, 2011, 09:52:32 PRE PODNE od _tHe_WoLf_

Citat: _tHe_WoLf_ poslato Februar 15, 2011, 09:50:46 PRE PODNE
sad mi ove errore izbaci:

D:\miso\gta san andreas\GTA San Andreas\samp\gamemodes\gangwars.pwn(161) : error 029: invalid expression, assumed zero
D:\miso\gta san andreas\GTA San Andreas\samp\gamemodes\gangwars.pwn(161) : error 029: invalid expression, assumed zero
D:\miso\gta san andreas\GTA San Andreas\samp\gamemodes\gangwars.pwn(161) : error 029: invalid expression, assumed zero
D:\miso\gta san andreas\GTA San Andreas\samp\gamemodes\gangwars.pwn(161) : fatal error 107: too many error messages on one line

;P
Pa daj tu liniju
A kradeš sa Siemensa a? xD
Poslednja Izmena: Februar 15, 2011, 09:52:14 PRE PODNE od gonss.pwn


http://forum.sa-mp.com/showthread.php?t=150274&highlight=Speed+Test
Pogledaj malo to :)
EDIT: Ovo ima siemens :)
EDIT: I molim te neslusaj gonss-a  8)
Poslednja Izmena: Februar 15, 2011, 11:05:25 PRE PODNE od eXtreme

hvala

pa sta ako ima taj server, vidio sam to na vise servera