Jump to content

MTA.SAY not MTA.MSG


Interrap

Recommended Posts

}

else {

mta.msg $1 $2 $mta.vehicle($1,$2).name - Health: $mta.health($1,$2).vehicle $+ % Status: Dumpable ($ $+ $calc($mta.health($1,$2).vehicle * 10) $+ ) Last Driver: $readini(RPG2.ini, Lastdriver, $mta.vehicle($1,$2))

}

}

if ($readini(RPG2.ini, Buycar, $mta.vehicle($1,$2)) != $mta.name($1,$2)) && ($readini(RPG2.ini, Buycar, $mta.vehicle($1,$2)) != $null) {

mta.msg $1 $2 You have 10 seconds to get out, this isnt your car!

.timercar 1 10 mta.slapper $1-

writeini "RPG2.ini" Stolecar $mta.name($1,$2) 1

set %theifcar $2

}

Any way of getting the "10 seconds to get out isnt ur car" bit to say as if it were coming from admin console

Link to comment
}
 else {
 mta.msg $1 $2 $mta.vehicle($1,$2).name - Health: $mta.health($1,$2).vehicle $+ % Status: Dumpable ($ $+ $calc($mta.health($1,$2).vehicle * 10) $+ ) Last Driver: $readini(RPG2.ini, Lastdriver, $mta.vehicle($1,$2))
 }
}
if ($readini(RPG2.ini, Buycar, $mta.vehicle($1,$2)) != $mta.name($1,$2)) && ($readini(RPG2.ini, Buycar, $mta.vehicle($1,$2)) != $null) {
mta.say $1 You have 10 seconds to get out, this isnt your car!
.timercar 1 10 mta.slapper $1-
writeini "RPG2.ini" Stolecar $mta.name($1,$2) 1
set %theifcar $2
}

Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...