Oct 3, 2026, 11:34:37
Ownage Owls

Author Topic: New script checklist  (Read 1754 times)

Nov 16, 2010, 18:22:38
Reply #30
Online

Potzo

Staff
mdbeln is slow...
Join us on Discord

Nov 16, 2010, 21:14:50
Reply #31
Offline

Mdbelen

Staff
sure, it was just a rhyme^^

Nov 20, 2010, 19:15:33
Reply #32
Offline

rijads

Member
Here is rules script, well actually its not a script just xml file :D,i ll attach it to this post.
I also started learning lua today, learned now for 3 hours, and still don't know a clue :/
Are there good sites to learn it except mta wiki's site ?



Nov 20, 2010, 21:54:06
Reply #33
Offline

Mdbelen

Staff
ö.. just found this, dunno if it's so good
http://nixstaller.berlios.de/manual/0.2/nixstaller_9.html

Important are the Client/Server functions/events lists in the mta-wiki, above search edit (If you didn't know of them yet, it took me some time to see them :D)

Nov 21, 2010, 10:44:35
Reply #34
Offline

drowned_and


rename or block www.mtasa.tk guys

Nov 24, 2010, 16:49:44
Reply #35
Offline

rijads

Member
ö.. just found this, dunno if it's so good
http://nixstaller.berlios.de/manual/0.2/nixstaller_9.html

Important are the Client/Server functions/events lists in the mta-wiki, above search edit (If you didn't know of them yet, it took me some time to see them :D)
i already saw that, and i ll keep learning lua, as soon as i pass these 2 important math exams.

Nov 29, 2010, 01:01:05
Reply #36
Offline

Meatnose


Now the damn Anti-AFK script is done, again... This time I'll make 700 backups and put them on some USB-sticks I got laying around in the house.

It's untested anyhow but I'm still pretty sure of that it'll work. I don't got any local-server that's functional at the moment so we'll have to wait for Mdbelen to get his ass from the coach.

//Meatnose

Nov 29, 2010, 18:16:28
Reply #37
Offline

Mdbelen

Staff
No couch with an ass on it over here.
Why can't you use normal local server?

Nov 30, 2010, 01:13:21
Reply #38
Offline

Meatnose


Mdbelen: My local server fucked up when I reinstalled MTA for some odd reason, it's working now again though. :P

I'm rewriting the whole code at the moment because I found a much better solution than keymapping. It's soon testable anyways.

Jan 28, 2011, 23:13:55
Reply #39
Offline

.:SDK:.


Quote
Admins & Mods:
  • New commands:

    • {PROGRESS}Announce: Announce to all players with GUI text on screen some text.
    • {PROGRESS}Teams: /team create <name> (R) (B) (G), /team add (nameofplayer) (nameofteam), /team set <name> <value>
    • {PROGRESS}New slap: /slap <name> <HP> [New in the slap comand needs to be the ability to  move player into air for like 5 meters after which he will fall, loosing specified amounth of HP. It will be usefull for AFK'ers, Campers, and Stucked players]

Extras
  • {PROGRESS}A GUI image displayed on screen in corner if map has ghostmode already set in meta.

I did those things, here is the list what's inside the attached scripts:

Code: [Select]
Commands:
/an <text>: announce some text
/announce <R> <G> <B> <scale> <time> <text>: announce some text
/team create <teamname> [R=255 G=255 B=255]: create a team with optional RGB code
/team delete/del <teamname>: delete a team
/team add <teamname> <player>: add a player to the team
/team remove/rem <teamname> <player>: remove a player from the team
/team setname <old_teamname> <new_teamname>: set a new team name
/team setcolour/setcolor <R> <G> <B>: set a new team rgb color
/slap <player> [hp=10]: slaps the player (doing damage to the player and vehicle)
/clearchat /cc [lines=90]: clear the chatbox
Extras:
Ghostmode detecter image on mapstart (image could be improved)

Jan 29, 2011, 01:09:04
Reply #40
Offline

Mdbelen

Staff
Thank god ouih i have to talk to you^^

Feb 3, 2011, 02:22:08
Reply #41
Offline

.:SDK:.


So I saw that the ghostmode picture was uploaded and replaced by a (nice ^^) white and red verison. But Invalidus told me there's a bug when changing from no gm maps to gm maps, the picture stays red.


Feb 3, 2011, 02:54:26
Reply #42
Offline

Invalidus

Inactive Owl
Yes, when you start to play the image is white for gm maps and red for non gm maps (all ok at the moment), but when it turns red for a non gm map it stays red always, never change to white, it stays always red even being a map with gm

Feb 3, 2011, 15:58:30
Reply #43
Online

Potzo

Staff
actually it was meant to be green or red, not red and green (u have all the versions in folder)
Join us on Discord

Feb 3, 2011, 17:22:40
Reply #44
Offline

Mdbelen

Staff
srysrysry i changed it a bit but had to go fast then, so no time to fix^^