Guest Posted October 31, 2007 Share Posted October 31, 2007 on *:SIGNAL:mta.command:{ if ($3 == !trickortreat) { if ($rpg.area($1,$2) == Vercetti-Estate) { mta.msg $1 $2 You Knocked on the Door and Received $400! !.timerknock 2 mta.msg $1 $2 Happy Halloween! !writeini " $+ $rpg.dir $+ rpg.ini" $mta.name($1,$2) cash $calc($cash($1,$2) + 400) } else mta.msg $1 $2 Error! } Simple Halloween script. Use with Jax & Oli RPG Can anyone write a script for me to show random messages like the script below - https://forum.multitheftauto.com/viewtopic.php?f=30&t=9168&start=0&st=0&sk=t&sd=a&hilit=Vigilante+Mode As i was wanting to show diff messages Randomly each time you typed !trickortreat. Link to comment
kevuwk Posted October 31, 2007 Share Posted October 31, 2007 you could just stand there and keep doing it, might want to right to an ini or something like that when someone uses the command check whether the ini is set Link to comment
lil Toady Posted October 31, 2007 Share Posted October 31, 2007 mta.msg $1 $2 $gettok(my random message 1;my random message 2;my random message 3,$rand(1,3),59) put in messages separated by ; the last number in $rand must be the number of messages you have Link to comment
SanZoR Posted November 5, 2007 Share Posted November 5, 2007 Im wondering about the Error part. How it can be like it does an error? Link to comment
Recommended Posts