Raised This Month: $12 Target: $400
 3% 

Paid request


Post New Thread Reply   
 
Thread Tools Display Modes
Skyy
AlliedModders Donor
Join Date: Jan 2010
Location: Toronto, Canada
Old 03-24-2013 , 01:40   Re: Paid request
Reply With Quote #21

Sure. define it as other variables were defined - and insert it.
__________________
Skyy is offline
WolfGang
BANNED
Join Date: Oct 2010
Old 03-24-2013 , 11:15   Re: Paid request
Reply With Quote #22

Quote:
Originally Posted by Skyy View Post
Sure. define it as other variables were defined - and insert it.
That didnt answer my question. Reread it.
WolfGang is offline
Skyy
AlliedModders Donor
Join Date: Jan 2010
Location: Toronto, Canada
Old 03-24-2013 , 19:35   Re: Paid request
Reply With Quote #23

Quote:
Originally Posted by WolfGang View Post
How can i fit that into this line?
PHP Code:
if (client && GetClientTeam(client) == && IsAllowedGameMode() && GetConVarInt(Enable) == 1)
    {
        new 
bool:notify GetConVarBool(Notifications);
        for (new 
1<= MaxClientsi++)
        {
            if (
IsClientInGame(i) && !IsFakeClient(i) && GetClientTeam(i) == && g_Assist[client][i])
            {
                
g_Assist[client][i] = false;
                
points[i] += GetConVarInt(g_AssistPoints);
                if(
notifyPrintToChat(i"%s %T"MSGTAG"Assist Points"LANG_SERVERGetConVarInt(g_AssistPoints));
            }
        }
    } 
Like I said, before, when I read it the first time:
The same way assist points were added.
(If this is still a paid request, you can quite easily get someone to do this for you, but if it isn't, you should probably take the paid section out of the title)
__________________
Skyy is offline
WolfGang
BANNED
Join Date: Oct 2010
Old 03-29-2013 , 17:52   Re: Paid request
Reply With Quote #24

I've tried that.
PHP Code:
new damage = (GetEventInt(event"damage"
And it shows up as; Translation -
Code:
PrinToChat(attacker, "%T", "SI Killed", LANG_SERVER, damage); 

"{1:i} Killed SI [{1} damage] +1 points"
This is not actually how i put it, just an example. It shows up in chat "Killed SI [0 damage] +1 points"
WolfGang is offline
Reply



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 12:33.


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