Search found 416 matches
- Sat Dec 19, 2015 2:56 pm
- Forum: Plugin Development Support
- Topic: Langstrings Options
- Replies: 4
- Views: 3528
Langstrings Options
Hey, I found Langstrings today and must say its so easy to use but i have one question to it. strings.ini [EliminatedTarget] en = Eliminated $target with $weapon strings = LangStrings('strings') message = (strings["EliminatedTarget"][language] But how can i replace the ...
- Sat Dec 19, 2015 2:48 pm
- Forum: Plugin Development Support
- Topic: SQL anyone?
- Replies: 11
- Views: 8185
- Sat Dec 19, 2015 12:01 pm
- Forum: Code examples / Cookbook
- Topic: Stripping weapons
- Replies: 45
- Views: 124460
- Sat Dec 19, 2015 12:14 am
- Forum: Plugin Development Support
- Topic: More questions
- Replies: 26
- Views: 18133
- Fri Dec 18, 2015 11:58 pm
- Forum: Plugin Development Support
- Topic: More questions
- Replies: 26
- Views: 18133
- Fri Dec 18, 2015 12:36 pm
- Forum: Plugin Development Support
- Topic: More questions
- Replies: 26
- Views: 18133
- Thu Dec 17, 2015 11:12 pm
- Forum: Plugin Development Support
- Topic: More questions
- Replies: 26
- Views: 18133
More questions
Hello! Im working now for a few days with SP and im happy to work with, but I still have some questions which i couldnt figure out yet :( 1. How can i fire a event? es.event("initialize", "player_say") es.event("setint", "player_say", "userid&...
- Wed Dec 16, 2015 10:39 pm
- Forum: Plugin Development Support
- Topic: Port of IPToCountry and some questions to port from ES To SP
- Replies: 25
- Views: 16728
- Mon Dec 14, 2015 10:07 pm
- Forum: Plugin Development Support
- Topic: Port of IPToCountry and some questions to port from ES To SP
- Replies: 25
- Views: 16728
- Mon Dec 14, 2015 5:56 pm
- Forum: Plugin Development Support
- Topic: Port of IPToCountry and some questions to port from ES To SP
- Replies: 25
- Views: 16728
Port of IPToCountry and some questions to port from ES To SP
Hello again! I tried to port the ES IPToCountry to SP but it seems like it does not include StringIO, so could someone might port that for us to SP please? (Never used it so i have no clear about that) Questions: 1. Whats the function for sending a userid a message to CHAT with colors like \x07..? (...
- Mon Dec 14, 2015 12:06 am
- Forum: Plugin Development Support
- Topic: drawing box
- Replies: 2
- Views: 2872
drawing box
Hey how is it possible to draw a box with 2 coordinates?
ES way
Couldnt figure it out yet
ES way
Code: Select all
effectslib.drawBox(coord1, coord2, red=red, green=green, blue=blue, seconds=0.1, model=model, width=width, endwidth=endwidth)
Couldnt figure it out yet
- Sun Dec 13, 2015 11:21 am
- Forum: Plugin Development Support
- Topic: say hook and a 2 questions
- Replies: 6
- Views: 4652
- Sun Dec 13, 2015 2:21 am
- Forum: Plugin Development Support
- Topic: say hook and a 2 questions
- Replies: 6
- Views: 4652
Thank you so far! I dont know if i should do for every few questions a new thread or just create a collection thread for all of my questions but anyway i just ask that fast here: from listeners import Tick # Usage # @Tick # def <function>(): @Tick def tick_listener(): pass Always when i try to use t...
- Sun Dec 13, 2015 1:57 am
- Forum: Plugin Development Support
- Topic: say hook and a 2 questions
- Replies: 6
- Views: 4652
say hook and a 2 questions
Hey, im kinda starting to port es to SP and having the first troubles. How could you create a sayhook with sp? _sayHooks = {} def addSayHook(userid, function): userid = int(userid) if not callable(function): es.dbmsg(0, "ERROR: Tried to add sayhook on userid '%s' but function is not callable" % user...
- Fri Oct 30, 2015 8:24 pm
- Forum: Plugin Requests
- Topic: Plugins converts from Eventscripts to Source Python
- Replies: 35
- Views: 26736
- Sat Oct 10, 2015 10:39 am
- Forum: General Discussion
- Topic: Porting ES to SP
- Replies: 1
- Views: 2492
Porting ES to SP
Hey guys,
Im kinda new with source python and seeing it gives you more and updated content.
Are there any ressources where i can find whats the difference between these 2 and what i need to remember when porting From ES To SP?
And isnt Sourcepython Python 3+ now?
Thanks
Im kinda new with source python and seeing it gives you more and updated content.
Are there any ressources where i can find whats the difference between these 2 and what i need to remember when porting From ES To SP?
And isnt Sourcepython Python 3+ now?
Thanks