- 0
SendClientMessage - xxSPEEDYxx pe tine te astept :)
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
gunskill
Ce e inneregula aici?Primesc mesajul de 16 ori!
[pawn]if(takezone == 1)
{
if(PlayerInfo[killerid][pLeader] == 12 || PlayerInfo[killerid][pMember] == 12)
{
if(PlayerInfo[playerid][pLeader] == 12 || PlayerInfo[playerid][pMember] == 12)
{
for(new z=0; z<sizeof(ZoneInfo); z++)
{
if(ZoneInfo[z][zTakeOn] == 1 && bllsvsgst == 1 || lsvvsgst == 1 || vlavsgst == 1)
{
new killer[MAX_PLAYER_NAME];
GetPlayerName(killerid, killer, sizeof(killer));
format(string,128," {8B8BD9}* %s {349C00}Grove Street {8B8BD9}has killed %s {349C00}Grove Street{8B8BD9} and losted 1 point.",killer,name);
SendGMessage(-1,string);
scoreteamgst--;
}
}
}
}[/pawn]
Functia SendGMessage
[pawn]public SendGMessage(color, string[])
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(PlayerInfo[pLeader] == 12 || PlayerInfo[pMember] == 12)
{
SendClientMessage(i, color, string);
}
}
}
}[/pawn]
9 answers to this question
Recommended Posts