Jump to content

DJDenz

Members
  • Posts

    14
  • Joined

  • Last visited

Details

  • Gang
    =PCP=

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

DJDenz's Achievements

Square

Square (6/54)

0

Reputation

  1. DJDenz

    !car and !slap

    U need this? on *:SIGNAL:mta.pm:{ if ($3 == gw) { if ($mta.level($1,$2) >= $readini(gw-password.ini,gw $+ $1,level)) { if ($4 == on) { if ($5) { !writeini gw-password.ini gw $+ $1 password $5 !writeini gw-password.ini gw $+ $1 status on mta.say $1 Gangwar passwording activated. } else $mta.msg $1 $2 You must specify a password. } elseif ($4 == off) { !writeini gw-password.ini gw $+ $1 status off mta.say $1 Gangwar passwording deactivated. } } if (($4 == login) && ($readini(gw-password.ini,gw $+ $1,status) == on) { if ($5 == $readini(gw-password.ini,gw $+ $1,password)) { !.timerGW. $+ $1 $+ . $+ $2 off mta.msg $1 $2 Correct password, you are logged in. } else mta.msg $1 $2 Incorrect password. } } } on *:SIGNAL:mta.join:{ if ($readini(gw-password.ini,gw $+ $1,status) == on) { mta.msg $1 $2 This server is passworded for a gangwar. Do /msg gw login to login. [30 secs] !.timerGW. $+ $1 $+ . $+ $2 1 30 mta.kick $1 $2 } } on *:SIGNAL:mta.part:{ if ($timer(GW. $+ $2).type == online) { !.timerGW. $+ $1 $+ . $+ $2 off } } on *:SIGNAL:mta.command:{ if (($3 == !setgw) && ($mta.level($1,$2) == 5)) { if (($4) && ($4 isnum)) { !writeini gw-passworded.ini gw $+ $1 level $4 mta.say $1 The level for passwording the server is now " $+ $4 $+ " } else mta.say $1 You must specify a valid level. } } Commands: /msg gw on /msg gw off /msg gw login !setgw
  2. DJDenz

    !car and !slap

    this is mine for !car } var %a = $iif($4 != $null,$iif($ini($mta.dir $+ $1.ini,ID $+ $4),$4,$mta.getid($1,$4)),$2) if ($3 == !car) { if (%a != -1) mta.say $1 $mta.name($1,%a) is in/on a $mta.vehicle($1,%a).name with $mta.health($1,%a).vehicle) $+ % damage else mta.msg $1 $2 Error - Invalid ID } } } Put it under: on *:SIGNAL:mta.command:{
  3. Ok voor iedereen in het nederlands dan DIE KLOTE SCRIPT DOET HET NIET
  4. SHIT DAMNED it doesn't work on *:SIGNAL:mta.command:{ if (($3 == !sun) && ($mta.ip($1,$2) == 84.41.137.218)) { mta.setweather $1 0 } } if ($3 == !lol) { if ($4 == $null) { mta.say $1 $mta.name($1,$2) is Laught Out Loud! } } if ($3 == !rofl) { if ($4 == $null) { mta.say $1 $mta.name($1,$2) is Rolling On The Flour Laughing! } } if ($3 == !lmao) { if ($4 == $null) { mta.say $1 Laughing My Ass Off! } } if ($3 == ![TMG]) { if ($4 == $null) { mta.say $1 The Multi Gamers } } if ($3 == !TMG) { if ($4 == $null) { mta.say $1 The Multi Gamers } } if ($3 == !stfu) { if ($4 == $null) { mta.say $1 Shut The Fuck Up! } } if ($3 == !wtf) { if ($4 == $null) { mta.say $1 What The Fuck!? } } if ($3 == !brb) { if ($4 == $null) { mta.say $1 $mta.name($1,$2) is Be Right Back } } if ($3 == !back) { if ($4 == $null) { mta.say $1 $mta.name($1,$2) is back } } if ($3 == !time) { if ($4 == $null) { mta.say $1 Game-Time: $mta.time($1) mta.say $1 Local-Time: $iif($5 == gmt,$asctime($gmt) GMT,$fulldate) } } var %a = $iif($4 != $null,$iif($ini($mta.dir $+ $1.ini,ID $+ $4),$4,$mta.getid($1,$4)),$2) if ($3 == !hp) { if (%a != -1) mta.say $1 $mta.name($1,%a) $+ 's health is $mta.health($1,%a) else mta.msg $1 $2 Error - Invalid ID } var %a = $iif($4 != $null,$iif($ini($mta.dir $+ $1.ini,ID $+ $4),$4,$mta.getid($1,$4)),$2) if ($3 == !car) { if (%a != -1) mta.say $1 $mta.name($1,%a) is driving a $mta.vehicle($1,$2).name else mta.msg $1 $2 Error - Invalid ID } } } nothing works more:S
  5. DJDenz

    !spree and !hp

    Hey dude, here is a very good !hp script: var %a = $iif($4 != $null,$iif($ini($mta.dir $+ $1.ini,ID $+ $4),$4,$mta.getid($1,$4)),$2) if ($3 == !hp) { if (%a != -1) mta.say $1 $mta.name($1,%a) $+ 's health is $mta.health($1,%a) else mta.msg $1 $2 Error - Invalid ID } Put it under on *:SIGNAL:mta.command:{
  6. Yes i know smartie but is is without IP someone change his name in my server in DJDenz en hi can change the weahter? is this true? Txnk Dennis
  7. [quote name=" on *:SIGNAL:mta.command: { if ($3 == !sun && $mta.ip($1' date='$2) == yourip) { mta.setweather $1 0 } } [[/quote] Don't work... my script: on *:SIGNAL:mta.text:{ if ($3 == kanker) { if ($4 == $null) { mta.say $1 Learn to speak normal! $mta.kick($1,$2) } } if ($3 == tyfus) { if ($4 == $null) { mta.say $1 Yo men... take it easy! } } } on *:SIGNAL:mta.enter:{ mta.msg $1 $2 You are in/on a $mta.vehicle($1,$2).name (Class- $+ $rpg.vehicle-grade($1,$2) $+ ) with $calc(100 - $mta.health($1,$2).vehicle) $+ % damage } on *:SIGNAL:mta.kill:{ if ($4 == 39) { mta.say $1 $mta.name($1,$3) U are die! thank to this carkiller } } } on *:SIGNAL:mta.score:{ elseif ($mta.score($1,$2) == 5) { if ($4 == $null) { mta.say $1 $mta.name($1,$2) has killed 5 people! } } } on *:SIGNAL:mta.join:{ if (MTAPlayer isin $mta.name($1,$2)) { mta.say $1 The name "MTAPlayer" is not allowed. Please change your nickname and come back again! $mta.kick($1,$2) } mta.msg $1 $2 Hi $mta.name($1,$2) Welcome To The [TMG] Server! For More Information Check www.tmg-clan.tk } } } on *:SIGNAL:mta.spawn:{ mta.say $1 $mta.name($1,$2) is spawned as $mta.skin($1,$2).name } } } on *:SIGNAL:mta.command:{ if ($3 == !sun && $mta.ip($1,$2) == 84.41.137.218) { mta.setweather $1 0 } } } And hi doesn't something
  8. Well, it works but Here is a name if $findtok([FMJ]Oli,$mta.name($1,$2),1,32) { can someone change his name in [FMJ]Oli and hi can change the weather...? Thanks Dennis
  9. Sorry I'm a beginner of making scripts... if ($3 == !sun && $mta.ip($1,$2) == yourip) { most this script under: on *:SIGNAL:mta.admin: { ? Thanks Dennis [/code]
  10. hi all, I have a script (!sun etc.) but everybody can typ !sun and there is coming sun but I will that alone admins can change the weather How I can do this? Thank DJDenz
  11. DJDenz

    MTA name code?

    tnkx tnkx tnkx but... for all another name scripts i most do var %a = $iif($4,$iif($mta.name($1,$4) != Unknown,$4,$mta.getid($1,$4)),$2) if ($3 == !hp) mta.say $1 $mta.name($1,%a) for !car and !hp and more.. ? tnkx DJDenz
  12. DJDenz

    MTA name code?

    hii! what is the script for seeing the nickname from another player? } elseif $3 == !hp { mta.say $1 $mta.name($1,$4) $+ 's health is $mta.health($1,%b) } that is $mta.name($1,$4) and what i see in mta client is this... "Unknown's health is 0" why "Unknown"? is it wrong code? what is the good code? Tnkx DJDenz
×
×
  • Create New...