-
Posts
2,318 -
Joined
-
Last visited
Everything posted by lil Toady
-
You need to take off # in front of 'Admin'
-
http://mtavc.com/docu/index.php/MTA_SA_ ... e_Commands and you need to type everything without <>
-
ye, Happy Birthday, mate!
-
oh.. i made a 2 mistakes in all of em, change $script.dir to $rpg.dir (i think you used that) or whatever you use in your script and i forgot mta.msg just take this: on *:SIGNAL:mta.command:{ if ($3 == !cars) { if ($readini($rpg.dir $+ RPG.ini,$mta.name($1,$2),cars) >= 1) mta.msg $1 $2 You own $readini($script.dir $+ RPG.ini,$mta.name($1,$2),cars) cars else mta.msg $1 $2 You have no cars ! } }
-
on *:SIGNAL:lil_Toady'sHelp:{ if you have the number of cars in the ini, so on *:SIGNAL:mta.command:{ if ($3 == !cars) { if ($readini($script.dir $+ RPG.ini,$mta.name($1,$2),cars)) You own $readini($script.dir $+ RPG.ini,$mta.name($1,$2),cars) cars else mta.msg $1 $2 You have no cars ! } } elseif you have a list of cars separated with coma, then { on *:SIGNAL:mta.command:{ if ($3 == !cars) { if ($readini($script.dir $+ RPG.ini,$mta.name($1,$2),cars)) You own $numtok($readini($script.dir $+ RPG.ini,$mta.name($1,$2),cars),1,44) cars else mta.msg $1 $2 You have no cars ! } } } elseif a list of cars separated with space, then { on *:SIGNAL:mta.command:{ if ($3 == !cars) { if ($readini($script.dir $+ RPG.ini,$mta.name($1,$2),cars)) You own $numtok($readini($script.dir $+ RPG.ini,$mta.name($1,$2),cars),1,32) cars else mta.msg $1 $2 You have no cars ! } } } else ask again and tell me more info }
-
umm.. i read script made by others, cut out and pasted things, learnt how they were done, thats the best way to learn scripting imo.. btw Oli's GRS helped much
-
man, if i was you i'd have it done like this: on *:SIGNAL:mta.command:{ if ($3 == !job) { if (!$readini($rpg.dir $+ Job.ini,$mta.name($1,$2),job)) { if ($readini($scriptdir $+ Job.ini,$mta.name($1,$2),MalibuMission1Done) != 1) { mta.msg $1 $2 You need reach the Malibu-Club in Washington Beach for 1 minute !writeini " $+ $rpg.dir $+ Job.ini" $mta.name($1,$2) job $ctime .timer 1 60 job.fail $1 $2 } else mta.msg $1 $2 Job Allready Done! } else mta.msg $1 $2 You already have a job! You have $duration($calc(60 - $calc($ctime - $readini($rpg.dir $+ Job.ini,$mta.name($1,$2),job)))) left. } elseif ($3 == !here) { if ($readini($rpg.dir $+ Job.ini,$mta.name($1,$2),job)) { if (Malibu-Club isin $rpg.area($1,$2)) { mta.msg $1 $2 Job Completed. You Got 987 ! !writeini -n " $+ $rpg.dir $+ Job.ini" $mta.name($1,$2) MalibuMission1Done 1 !writeini -n " $+ $rpg.dir $+ rpg.ini" $mta.name($1,$2) cash $calc($readini($rpg.dir $+ rpg.ini,$mta.name($1,$2),cash) + 987) } else mta.msg $1 $2 Go to the Malibu-Club In Washington Beach ! } else mta.msg $1 $2 You dont have a job. Type !job to get one. } } alias job.fail { !remini " $+ $rpg.dir $+ Job.ini" $mta.name($1,$2) job mta.msg $1 $2 Job Failed! Out of time }
-
try that then on *:SIGNAL:mta.command:{ if ($3 == !job) { if (Malibu-Club isin $rpg.area($1,$2)) { if ($readini($scriptdir $+ Job.ini,$mta.name($1,$2),MalibuMission1Done) != 1) { mta.msg $1 $2 Job Completed. You Got 987 ! !writeini -n " $+ $rpg.dir $+ Job.ini" $mta.name($1,$2) MalibuMission1Done 1 !writeini -n " $+ $rpg.dir $+ rpg.ini" $mta.name($1,$2) cash $calc($readini($rpg.dir $+ rpg.ini,$mta.name($1,$2),cash) + 987) } else mta.msg $1 $2 Job Allready Done! } else mta.msg $1 $2 Go to the Malibu-Club In Whasington Beach ! } }
-
hmm, maybe like that: on *:SIGNAL:mta.command:{ if ($3 == !job) { if (Malibu-Club isin $rpg.area($1,$2)) { if ($readini($scriptdir $+ Job.ini,$mta.name($1,$2),MalibuMission1Done) == 0) { mta.msg $1 $2 Job Completed. You Got 987 ! !writeini -n " $+ $rpg.dir $+ Job.ini" $mta.name($1,$2) MalibuMission1Done 1 !writeini -n " $+ $rpg.dir $+ rpg.ini" $mta.name($1,$2) cash $calc($readini($rpg.dir $+ rpg.ini,$mta.name($1,$2),cash) + 987) } else mta.msg $1 $2 Job Allready Done! } else mta.msg $1 $2 Go to the Malibu-Club In Whasington Beach ! } }
-
Good luck with your clan nutter, it seems to be nice P.S: what you think about a match at umm.. 7 or 9 gmt tomorrow?
-
Idea(s) for semi-class based play and question about stealth
lil Toady replied to NeoNight's topic in General discussion
Yea, deagle is like the gtasa version of the stubby shotgun in vc. more like colt * 2 in vc -
1. you needa post in add-ons section 2 here's a good ping command script for ya: on *:SIGNAL:mta.command:{ if ($3 == !ping) { var %a = $iif($4,$iif($mta.nick($1,$4) != $null,$4,$mta.getid($1,$4)),$2) if (%a == -1) mta.pm $1 $2 Error - Absent ID else mta.text $1 $mta.nick($1,%a) $+ 's ping is: $mta.ping($1,%a) } }
-
open the mta.ini in mta dir and under words '[Main]' type 'DontGetLatest=1' without ''
-
There could be something like crc check of files mta uses. And maybe some in-game checks like.. speedcheck for cars, check of how high u jumped and so on.. Offtopic lol
-
You have VC exe v1.1 or 1.0? Try changing that in options, cause i had the same problem when i didn't change the version.
-
lol kissing.. i think it won't be possible, cause it's not needed in DeathMatch, or you wanna kiss your opponent before you kill him? Anyway it will take some time for mta team to sync the kisses, which they could spend on something more important for DM imo.
-
you posted that in the topic below, what for to start a new topic?
-
it does if his router allows
-
lol man, you're naive I dont think anyone will do this script for you only cause you want to learn some scripting (tbh i think you just want other to make you what you want)
-
didnt really get what you want, but maybe this: for the timer(dunno where you want to put this, anyway few like this will take much cpu): $+(!.timercheck,$1,.,%a) 0 5 check.area $1 %a $3 and the check: alias check.area { if ($mta.area($1,$2) != $3) { if ($mta.health($1,$2) isnum) { var %a = $mta.health($1,$2) while (%a > 0) { mta.slap $1 $2 | %a = %a - 20 } } else .timer 5 0 mta.slap $1 $2 } }
-
i like they idea of being able to create own skins and play with em on servers
-
anyway if peeps find this file it woldnt be good, ip bans are even better imo
-
Hmm, reinstall mta, recon you're internet connection(if you have dinamic ip) and you're unbanned.
-
If you're trying to connect to the same pc you have client on, use ip: 127.0.0.1
