Niels Posted December 6, 2004 Posted December 6, 2004 if (!car == $3) { %b = $iif($4 isnum,$4,$mta.getid($1,$4)) if ($4 !== $null) { if ($mta.vehicle($1,%b).name != Unknown) mta.say $1 $mta.name($1,%b) is in/on $mta.vehicle($1,%b).name - Damage: $calc(100 - $mta.health($1,%b).vehicle) %manhunt % else mta.say $1 $mta.name($1,%b) is out of game! } else { if ($mta.vehicle($1,$2).name != Unknown) mta.say $1 $mta.name($1,$2) is in/on $mta.vehicle($1,$2).name - Damage: $calc(100 - $mta.health($1,$2).vehicle) %manhunt % else mta.say $1 You are out of game! if ($mta.name($1,%b).name == Unknown) mta.say $1 User ID Failed. } } Why is it User ID Failed. not working ??? can somone fix it ? OMG!
Mike Posted December 6, 2004 Posted December 6, 2004 (edited) Dude, first this should be in mta scripting. Second, you already asked me on irc and i helped you. Edited December 6, 2004 by Guest
Oli Posted December 6, 2004 Posted December 6, 2004 nivko.. whats mIRC? Proud member of Multi Theft Auto Founder of Full Metal Jacket Creator of MTA:mA:GRS http://www.mtafmj.com http://www.full-fat.com
Niels Posted December 6, 2004 Author Posted December 6, 2004 if ($3 == !car) { %b = $iif($4 isnum,$4,$mta.getid($1,$4)) if ($4 !== $null) { mta.say $1 $mta.name($1,%b) is in/on $mta.vehicle($1,%b).name Damage: $calc(100 - $mta.health($1,%b).vehicle) %manhunt % elseif ($mta.vehicle($1,%b).name == Foot && Unknown) mta.say $1 Unable to get in what car $mta.name($1,%b) are in! } else { mta.say $1 $mta.name($1,$2) is in/on $mta.vehicle($1,$2).name Damage: $calc(100 - $mta.health($1,$2).vehicle) %manhunt % elseif ($mta.vehicle($1,$2).name == Foot && Unknown) mta.say $1 Unable to get in what car you are in! } } Why is this don't work (car script edit) OMG!
Niels Posted December 6, 2004 Author Posted December 6, 2004 if ($3 == !car) { %b = $iif($4 isnum,$4,$mta.getid($1,$4)) if ($4 !== $null) { if (($mta.vehicle($1,%b).name == Foot) || ($mta.vehicle($1,%b).name == Unknown)) mta.say $1 Unable to get in what car $mta.name($1,%b) are in! else mta.say $1 $mta.name($1,%b) is in/on $mta.vehicle($1,%b).name Damage: $calc(100 - $mta.health($1,%b).vehicle) %manhunt % } else { if (($mta.vehicle($1,$2).name == Foot) || ($mta.vehicle($1,$2).name == Unknown)) mta.say $1 Unable to get in what car you are in. else mta.say $1 $mta.name($1,$2) is in/on $mta.vehicle($1,$2).name Damage: $calc(100 - $mta.health($1,$2).vehicle) %manhunt % } } it's works OMG!
Mike Posted December 6, 2004 Posted December 6, 2004 I think you can remove the "%manhunt %" as you don't even know what it's supposed to do Also, may be useful to add if ($mta.admin+ == $true) { before it and then } else mta.say $1 No admin+ connection after it
Ghoststriker Posted December 7, 2004 Posted December 7, 2004 Well he fixed his own problem. I dont understand why people cant wait for alittle bit longer and get it. When people die the ghost is still with us but you just can't see it. That equals suprise attack.
Niels Posted December 9, 2004 Author Posted December 9, 2004 if ($3 == !car) { %b = $iif($4 isnum,$4,$mta.getid($1,$4)) if ($4 !== $null) { if (($mta.vehicle($1,%b).name == Foot) || ($mta.vehicle($1,%b).name == Unknown)) mta.say $1 Unable to get in what car $mta.name($1,%b) are in! if ($mta.name($1,%b).name == Unknown) mta.say $1 Failed ID. else mta.say $1 $mta.name($1,%b) is in/on $mta.vehicle($1,%b).name - Damage: $calc(100 - $mta.health($1,%b).vehicle) %manhunt % } else { if (($mta.vehicle($1,$2).name == Foot) || ($mta.vehicle($1,$2).name == Unknown)) mta.say $1 Unable to get in what car u are in. else mta.say $1 $mta.name($1,$2) is in/on $mta.vehicle($1,$2).name - Damage: $calc(100 - $mta.health($1,$2).vehicle) %manhunt % } } Why is that failed id not working ?? OMG!
Mike Posted December 10, 2004 Posted December 10, 2004 if ($3 == !car) { %b = $iif($4 isnum,$4,$mta.getid($1,$4)) if ($4 !== $null) { if (($mta.vehicle($1,%b).name == Foot) || ($mta.vehicle($1,%b).name == Unknown)) mta.say $1 Unable to get in what car $mta.name($1,%b) are in! if ($mta.name($1,%b).name == Unknown) mta.say $1 Failed ID. else mta.say $1 $mta.name($1,%b) is in/on $mta.vehicle($1,%b).name - Damage: $calc(100 - $mta.health($1,%b).vehicle) %manhunt % } else { if (($mta.vehicle($1,$2).name == Foot) || ($mta.vehicle($1,$2).name == Unknown)) mta.say $1 Unable to get in what car u are in. else mta.say $1 $mta.name($1,$2) is in/on $mta.vehicle($1,$2).name - Damage: $calc(100 - $mta.health($1,$2).vehicle) %manhunt % } } Why is that failed id not working ?? Try this: if ($3 == !car) { %b = $iif($4 isnum,$4,$mta.getid($1,$4)) if ($4 != $null) { if ($mta.name($1,%b) == Unknown) mta.say $1 Failed ID. elseif (($mta.vehicle($1,%b).name == Foot) || ($mta.vehicle($1,%b).name == Unknown)) mta.say $1 Unable to get in what car $mta.name($1,%b) is in! else mta.say $1 $mta.name($1,%b) is in/on $mta.vehicle($1,%b).name - Damage: $calc(100 - $mta.health($1,%b).vehicle) } else { if (($mta.vehicle($1,$2).name == Foot) || ($mta.vehicle($1,$2).name == Unknown)) mta.say $1 Unable to get in what car you are in. else mta.say $1 $mta.name($1,$2) is in/on $mta.vehicle($1,$2).name - Damage: $calc(100 - $mta.health($1,$2).vehicle) } }
Aeron Posted December 10, 2004 Posted December 10, 2004 /me drops dead "Never argue with an idiot. They bring you down to their level and beat you with experience." "Arguing on the internet is like the Special Olympics. Even if you win, you're still retarded."
Recommended Posts