News:

Server address: server.convoytrucking.net
Get SA-MP 0.3.7 here: Click Here to download SA-MP 0.3.7

Main Menu

Admins/Mods Vs Players

Started by Beav, August 30, 2012, 08:23

TheShetlandSheepdog


Costel


Matias

Quote from: Costantino on January 08, 2013, 22:39
-1
8
And restart

Quote from: Matias. on January 08, 2013, 22:34
public CountdownRestart()
{
     if(Countdown < 10)
     {
           SpawnMessage("Restart!", COLOR_RED);
           return 1;
      }
      else
      {
            SpawnMessage("Restart Anyways!", COLOR_BLUE);
            return 1;
       }
}


This is supposed to restart it everytime it goes down 10, so dont worry about restarting it anymore :P

Costel

Quote from: Matias. on January 08, 2013, 22:44
Quote from: Costantino on January 08, 2013, 22:39
-1
8
And restart

Quote from: Matias. on January 08, 2013, 22:34
public CountdownRestart()
{
     if(Countdown < 10)
     {
           SpawnMessage("Restart!", COLOR_RED);
           return 1;
      }
      else
      {
            SpawnMessage("Restart Anyways!", COLOR_BLUE);
            return 1;
       }
}


This is supposed to restart it everytime it goes down 10, so dont worry about restarting it anymore :P
:seriously_guy:
-1
9

Matias


Costel


Matias


TheShetlandSheepdog


Costel


SeraMondialu


Matias


Ethan


public CountdownRestart()
{
     if(Matias Replies with restart)
     {
           SpawnMessage("+2", COLOR_RED);
           return 1;
      }
      else
      {
            SpawnMessage("-1", COLOR_BLUE);
            return 1;
       }
}



and I dont even know WTF that means

Hobo

Quote from: Ethan on January 09, 2013, 00:22

[hide=Ethan's Pawn]public CountdownRestart()
{
     if(Matias Replies with restart)
     {
           SpawnMessage("+2", COLOR_RED);
           return 1;
      }
      else
      {
            SpawnMessage("-1", COLOR_BLUE);
            return 1;
       }
}



and I dont even know WTF that means[/hide]

if(The_Hobo === poor){
$(document).ready(function(){
    $('p').html('<p>Restart</p>');
});
}
else{
$(document).ready(function(){
   $('p').html('<p>-1, 9 :D</p>');
});
}


[tr]
[td]

[/td]
[td][/td]
[td]

[shadow=black,left]My PC Specs:
-AMD Ryzen 7 2700X
-EVGA RTX 3080
-ASUS Prime X470-Pro Motherboard
-CORSAIR Vengeance RGB PRO 32GB RAM
-ADATA SX8200 NVME SSD 960GB
-Seagate IronWolf Pro 8TB HDD
-Western Digital Blue 2TB HDD
-ADATA Ultimate SU800 2TB SDD x2
-ADATA Ultimate SU800 1TB SSD x2
-Corsair HX750 Professional PSU
-NZXT H440 white/black case
[/shadow]
[/td]
[/tr]
[/table]

Matias

Quote from: The_Hobo on January 09, 2013, 00:43
Quote from: Ethan on January 09, 2013, 00:22

[hide=Ethan's Pawn]public CountdownRestart()
{
     if(Matias Replies with restart)
     {
           SpawnMessage("+2", COLOR_RED);
           return 1;
      }
      else
      {
            SpawnMessage("-1", COLOR_BLUE);
            return 1;
       }
}



and I dont even know WTF that means[/hide]

if(The_Hobo === poor){
$(document).ready(function(){
    $('p').html('<p>Restart</p>');
});
}
else{
$(document).ready(function(){
   $('p').html('<p>-1, 9 :D</p>');
});
}


So it will restart always untill someone gives you a coin? :P

mamorunl

Quote from: The_Hobo on January 09, 2013, 00:43
Quote from: Ethan on January 09, 2013, 00:22

[hide=Ethan's Pawn]public CountdownRestart()
{
     if(Matias Replies with restart)
     {
           SpawnMessage("+2", COLOR_RED);
           return 1;
      }
      else
      {
            SpawnMessage("-1", COLOR_BLUE);
            return 1;
       }
}



and I dont even know WTF that means[/hide]

if(The_Hobo === poor){
$(document).ready(function(){
    $('p').html('<p>Restart</p>');
});
}
else{
$(document).ready(function(){
   $('p').html('<p>-1, 9 :D</p>');
});
}


Why not
$(document).ready(function() { 
    if(The_Hobo == poor) {
        $('p').text('Restart');
    } else {
        $('p').text('-1,9 :D');
    }
});


Not minding the triple equations sign as it is not really functional in your code as it is not really defined.

So: -1
7 (ignoring the 'code' pieces and Snowies bad one)