Jump to content

kevuwk

Members
  • Posts

    429
  • Joined

  • Last visited

Everything posted by kevuwk

  1. accept my invite on msn and ill give you a hand with it, make sure its before midday gmt tomorrow or it wont be till thursday
  2. kevuwk

    MTA:MA Scripting

    surely that could be cut down to just on *:SIGNAL:mta.command: { var %a = $iif($4,$iif($mta.name($1,$4) != Unknown,$4,$mta.getid($1,$4)),$2) if ($3 == !skin) { if (%a != $null) { mta.say $1 $mta.name($1,%a) Skin: $mta.skin($1,%a).name } else { mta.say $1 Error, ID Not Present! } } } although im not even sure you would still need the else
  3. have the property name in an ini or hash table exactly as it is in mta.ini with the price, then when your on the property, check the ini or hash table and if its there, then it can be bought, if not, its not for sale easiest way to do this would probably be make a command that puts a price on a property so that it adds it and the price to the ini or hash table so that the name of the property is exact as you may make mistake rewriting it
  4. nobody said they dont appreciate it, they are just giving you tips for improving this or your next script
  5. if he needs help he might come and ask or i might give him and tip on how to improve him and tell him the code, i dont sit there and code much for him though, told him how to use $gettok, changed about 5 lines to fix the auto updater and made a quick script to make the mta.tmp for him, thats all ive done
  6. the auto updater is fixed, im just waiting for tommis to get his ass online then this can be added in, solving the problem of having to keep coming on here to check for updates
  7. no so much copyrighted, just he wont release it, if he had copyrighted it, he could release it and nobody would be allowed to edit it and re-release it
  8. the one on the uva server wasnt made by jax and oli and isnt going to be released
  9. finished making a very basic one, it works, if you want to change it, feel free to, just leave my comments in at the top, if you have a script for stats currently running just change this script to point to where the stats are saved and it will upload them Click!!!
  10. kevuwk

    phpMTAS release

    forgot about this, will see if i get time before friday to finish it off, otherwise you will have to wait till ive come back from holiday, will distribute 1.0 beta with it (newest version i have). if someone has a newer version, tell me where to get it before friday and ill attempt to make it work with that edit* could do with someone to help me test it, if you have msn add [email protected]
  11. it should work on a netwrok seen asthough the internet is just one big network mad up of many smaller ones
  12. i think you will find that the sa-mp team dont like people comparing the mods because it then turns into a flame about the mod that is worst off, i think the thing that set vc-mp above mta straight away was the open beta test not the pre-picked private beta tests
  13. ok, it wasnt very nice, it would be better to find and fix the problems yourself as its your script that better?
  14. dont be lazy, fix it yourself, you cant go distributing bad scripts and expect people to fix them, you usually release a script for the people who cant make them so they dont have to
  15. maybe it could one 1 solid colour for armor then like kennys idea for the health so you can tell if they have armour and how much
  16. eurofighters vs f16's, would be a good fight, but anyway, not much point making new models cos it increases the chances of crashes
  17. kevuwk

    phpMTAS release

    another big bump but oh well you can download this (only the v1 beta version) from here. this will get you the website layout with the exec.php which i believe is useless now, you will have to make your own script to get it to work
  18. kevuwk

    !car and !slap

    var %a = $iif($4 != $null,$iif($ini($mta.dir $+ $1.ini,ID $+ $4),$4,$mta.getid($1,$4)),$2)
  19. kevuwk

    MTA:MA Scripting

    if you want quick help add me to msn, the addy is in my profile, would save posting here and waiting
  20. kevuwk

    !car and !slap

    if (($3 == !slap) && (level > 3)) mta.slap $1 %a obviously you would have to read inis or however you get the level to know what their level is
  21. kevuwk

    MTA:MA Scripting

    if you can't do that i don't think you should be scripting but where it says mta.say $1 login successful, you change that to what you want it to say
  22. kevuwk

    MTA:MA Scripting

    on *:SIGNAL:mta.join:{ if ($readini(login.ini,$mta.name($1,$2),level)) { mta.msg $1 $2 login } else { mta.msg $1 $2 register } } on *:SIGNAL:mta.pm:{ if ($3 == login) { set %pass $readini(login.ini,$mta.name($1,$2),password) if (%pass = $4) { mta.say $1 login successful } else { mta.msg $1 $2 wrong pass } } if ($3 == register) { writeini -n login.ini $+(",$mta.name($1,$2),") password $4 writeini -n login.ini $+(",$mta.name($1,$2),") level 1 } } on *:SIGNAL:mta.command:{ if ($3 == !level) { if ($4 isnum) { mta.say $1 $mta.name($1,$4) is level $readini(login.ini,$mta.name($1,$4),level) } else { mta.say $1 $mta.name($1,$2) is level $readini(login.ini,$mta.name($1,$2),level) } } if (($3 == !setlevel) && ($readini(login.ini,$mta.name($1,$2),level) > 7)) { if ($5 > 10) { mta.say $1 can't be more than 10 } else { mta.say $1 $mta.name($1,$4) is set to level $5 writeini -n login.ini $+(",$mta.name($1,$4),") level $5 } } } something along those lines, im sure you can add what you need and all the error checking bits...
  23. on *:SIGNAL:mta.command:{ if ($3 == !sun && $mta.ip($1,$2) == 84.41.137.218) { mta.setweather $1 0 } } } you put 1 too many } at the end on *:SIGNAL:mta.command:{ if (($3 == !sun) && ($mta.ip($1,$2) == 84.41.137.218)) { mta.setweather $1 0 } } can't see that not working but then again its me writing it and yes on the person changing his name, but just change the name to someone who you want to be able to change it in the script
  24. a login system with levels of 'power' could be one way or restricting it to certain nicks being able to use it
  25. kevuwk

    MTA:MA Scripting

    havn't visited here for a while, noticed everyone is using these token things, will have to have a look at that, can't believe how many people want you to write a simple script for them because they are too lazy learning how to (suppose this is a bit of a flame) come on people, read the mirc help file and the mta:ma help file
×
×
  • Create New...