SA-MP Forums Archive
help with cd simple! pz he here - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: help with cd simple! pz he here (/showthread.php?tid=276409)



help with cd simple! pz he here - Honest_Player - 13.08.2011

hello all i made a code but its get error in his line

pawn Код:
public Count()
{
    new counter = 3, string[128];
    counter--;
    format(string, sizeof(string),"~r~%d", counter);
    GameTextForAll(1000, 5); // here one error
    if(counter == 0)
    {
        GameTextForAll(3000, 3, "~g~Gooooo!!!"); // 2nd error here
        KillTimer(count);
    }
    return 1;
}
pawn Код:
C:\Users\Administrator\Desktop\team wars\gamemodes\04jeeprace.pwn(204) : error 035: argument type mismatch (argument 1)
C:\Users\Administrator\Desktop\team wars\gamemodes\04jeeprace.pwn(207) : error 035: argument type mismatch (argument 1)
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.



Re: help with cd simple! pz he here - Riddick94 - 13.08.2011

pawn Код:
GameTextForAll(string, 1000, 5);

GameTextForAll("~g~Gooooo!!!", 3000, 3);
pawn Код:
public Count()
{
    new counter = 3, string[128];
    counter--;
    format(string, sizeof(string),"~r~%d", counter);
    GameTextForAll(string,1000, 5); // here one error
    if(counter == 0)
    {
        GameTextForAll("~g~Gooooo!!!",3000, 3); // 2nd error here
        KillTimer(count);
    }
    return 1;
}
@Down
Frajer pompka!


Re: help with cd simple! pz he here - Libra_PL - 13.08.2011

Код:
public Count()
{
    new counter = 3, string[128];
    counter--;
    format(string, sizeof(string),"~r~%d", counter);
    GameTextForAll(string,1000, 5); // here one error
    if(counter == 0)
    {
        GameTextForAll("~g~Gooooo!!!",3000, 3); // 2nd error here
        KillTimer(count);
    }
    return 1;
}


@UP: Hehe, ale za to dokładnie pokazałem


Re: help with cd simple! pz he here - Meinstad - 13.08.2011

Read Here


Re: help with cd simple! pz he here - Honest_Player - 13.08.2011

can anyone make a new count down timer which is auto start ongamemodeinint after 15000 sec plzzzzzzzzz


Re: help with cd simple! pz he here - Honest_Player - 13.08.2011

nope what i read here i am teling about count down timer plz help how i make a countdown tiemr


Re: help with cd simple! pz he here - Riddick94 - 13.08.2011

OnGameModeInit:

pawn Код:
SetTimer("Count", 15000, true);



Re: help with cd simple! pz he here - Honest_Player - 13.08.2011

i am not spaming plz help me here ho i make a sucess code


Re: help with cd simple! pz he here - Riddick94 - 13.08.2011

Then tell me what do you wan't exactly. Write a one decent message.


Re: help with cd simple! pz he here - Honest_Player - 13.08.2011

i want countdown timer when count downtimer startfreeze player after start race unfeeze player simple