turf system
#1

peace

guys i use this system turf https://sampforum.blast.hk/showthread.php?tid=276352

i want Show the name zone attacker and gang

Example :

Код:
format (str, sizeof (str), "Zone:% s is attacked by a gang:% s, the remaining 2 minutes.");
SendClientMessageToAll (RED, str);
Reply
#2

pawn Код:
format(string,sizeof(string),"%s is attacked by %s. remaining 2 minutes.",GetPlayerNameEx(playerid);
SendClientMessageEx(i,COLOR_YELLOW,string);
Reply
#3

how to show name gang and name zone !
Reply
#4

Quote:

format(string,sizeof(string),"%s is attacked by %s. remaining 2 minutes.",GetPlayerNameEx(playerid);
SendClientMessageEx(i,COLOR_YELLOW,string);

He said it already
%s is attacked by %s
Grove is attacked by Ballas
Reply
#5

Quote:
Originally Posted by khalildz
Посмотреть сообщение
how to show name gang and name zone !
!!!!!
Reply
#6

anyone help me

I do not understand
Reply
#7

up ....
Reply
#8

i need help
Reply
#9

you can check if player is in range of point of some gang zone and then check his team , if his team isnt the gang zone team then you can send message.Smth like that.
Reply
#10

Get Player's Team Name then.

pawn Код:
stock GetPlayerTeamName(playerid)
{
    new
        TeamName[20];

    switch(gTeam[playerid])
    {
        case TEAM_BALLAS: TeamName = "Ballas";
        case TEAM_GSF: TeamName = "Grove Street Families";
        case TEAM_VAGOS: TeamName = "Los Santos Vagos";
        default: TeamName = "Unknown";
    }
    return TeamName;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)