Search Results
Helo! This timer don't stop, is looping over and over but i use function killtimer
PHP Code:
new stopracetimer;
stopracetimer = SetTimer("startrace", 1000, 1);
KillTimer(stopracetimer);Â
...
448
Helo Guys! I have a race system and i have some problems.
When the race lobby is 2/2 the race will start and only first player will be put in the vehicle created
How to make if are 5 players in race t...
386
How to activate a timer like that only if a variable is 1;
PHP Code:
ptask name[1000](playerid)Â
{
    // my code
}Â
This is the timer from YNI includes, i wanna work only work if a...
471
Quote:
Originally Posted by PaulinSAMP
pawn Code:
if(linia11 == strcmp("PLD_SLOT:r_69","LD_SLOT:r_69"))
not work
you fucking see what say the warning..
516
how to rezolve?
PHP Code:
if(PlayerText:linia11 == strcmp("PLD_SLOT:r_69","LD_SLOT:r_69")) warning 213: tag mismatch: expected tag "PlayerText", but found none ("_")Â
54,772
Helo!
I make a slots machine system and i wanna try something.
If first box object is "69" to write in chat "First textdraw is 69"
[PHP]I try something like that but this is show now
PHP Code:
if...
516
How to use IF like that
PHP Code:
if(x = 0 and y = 0 and z = 0)
{
 // my code
}
else if x != 0 sendclientmessage(playerid,-1,"x is not 0");
else if y != 0 sendclientmessa...
362
Helo!
I make a slots machine system and i wanna try something.
If first box object is "69" to write in chat "First textdraw is 69"
PHP Code:
if(PlayerText:linia11Â ==Â "LD_SLOT:r_69")
{Â Â Â Â Â ...
259
Quote:
Originally Posted by Skimmer
No need to initialize random values within each case. Also the brackets are useless there.
pawn Code:
new rand = random(5);switch(rand){Â Â case 0:Â...
503
Helo!
If i have a code like that
PHP Code:
            new rand = random(5);
            switch(rand)
            {
                case 0:
...
503
I wanna know all this objects id, i can't find them
PHP Code:
https://dev.prineside.com/en/gtasa_samp_model_id/model/2349-CJ_Wheel_03/Â
The "69"
The "Ring"
The "Bar"
etc etc
351
Helo i try to make an delay to commands but i get this...
PHP Code:
new delay[MAX_PLAYERS];
ptask delaytime[1000](playerid)Â
{
    if(delay[playerid] != 0)
    {
        dela...
373
Quote:
Originally Posted by DRIFT_HUNTER
You need to hook OnPlayerConnect function.
How to make that? I'm new in this include
258
Helo! i make an simple include to test something and i have a error
PHP Code:
#if defined _admin_included
    #endinput
#endif
#define _admin_included
Â
#tryinclude <a_samp>
public...
258
Quote:
Originally Posted by Nuginity
here you're
PHP Code:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    // intra in masina
    if(oldstate == PLAYER_...
130
Helo! i make a player textdraw for speedometer, all work only not
"Vehicle: X"
I found a include to get vehiclename and to show it and don't work.
If i make something like that is working
PHP Code:
...
130
Quote:
Originally Posted by David (Sabljak)
PHP Code:
new jobtext[8];
    if(PlayerInfo[playerid][pJob] == JOBID) { jobtext= "JOB INFO"; }
    else if(PlayerInfo[playe...
120
Hello!
I wanna make if
PHP Code:
PlayerInfo[playerid][pJob]Â
is == 1
then when i use command /stats
PHP Code:
CMD:stats(playerid)
{
    new string[258],name[MAX_PLAYER_NAME];
 Â...
120
Helo, i make a bonus command and is work very good. One problem, when i enter again in game i have level 1 and again i can use /bonus.
HOW TO FIX TO SAVE LEVEL WHEN EXIT
PHP Code:
CMD:bonus(player...
154
Helo! I wana make a mod that send a message automate to a number, but i don't want to write /number x /sms y "Test"
I make a mod that make easy to find a number, /nu = /number. But now i wanna make a ...
97