Raised This Month: $ Target: $400
 0% 

[RU] lasers attaker


  
 
 
Thread Tools Display Modes
Author Message
AlexALX
Senior Member
Join Date: Apr 2009
Old 04-14-2009 , 05:45   [RU] lasers attaker
#1

Здраствуйте, если кто меня понимает, то нужна ваша помощь.

Реально ли узнать кто стреляет по лазеры в плагине lasermines.sma?

Очень нужно это както реализовать... Я пробовал так, но работает не правильно...

Code:
new attacker = read_data(1)
new name[32]
get_user_name(attacker,name,31)
client_print(entity_get_int(iCurrent,LASERMINE_OWNER), print_chat, "%L", LANG_PLAYER, "KILLED_LS2", name)
Ещё несколько вариантов пробовал тоже не помогло... Вышло только так, что когда человек стоит в лазере и стреляет по нему, то тогда всё работало исправно...

Нужна ваша помощь...

Прилагаю код своей модификации плагина lasermines.sma. А также локаль га русском и английском (erglish).
Attached Files
File Type: sma Get Plugin or Get Source (lasermine.sma - 918 views - 31.8 KB)
File Type: txt lasermine.txt (1.7 KB, 279 views)
AlexALX is offline
AlexALX
Senior Member
Join Date: Apr 2009
Old 05-24-2009 , 05:11   Re: [RU] lasers attaker
#2

Hello, if anyone understands me, you will need your help.

Actually I know who is shooting for "lasers in the plugin lasermines.sma?

It must be so as to realize ... I tried both, but does not work properly ...

Code:
 new attacker = read_data (1)  
 new name [32]  
 get_user_name (attacker, name, 31)  
 client_print (entity_get_int (iCurrent, LASERMINE_OWNER), print_chat, "% L", LANG_PLAYER, "KILLED_LS2", name)
A few more options, too, tried not help ... Went only so that when a person stands in the laser, and shoots it, then everything works properly ...

We need your help ...

I enclose a code update its plug-lasermines.sma. A locale also in Russian and English (erglish).
AlexALX is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:29.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode