Problem
#2

When it shows "You have been invited to faction %s" place it as

PHP код:
    format(stringsizeof(string), "You've invited %s to join to the faction %s!"targetnameGetFactionName(playerid));
    
SendClientMessage(playerid, -1string);
    
format(string2sizeof(string), "You've been invited to join %s by %s!"GetFactionName(playerid), ReturnName);
    
SendClientMessage(targetid, -1string2); 

Definy GetFactionName as
PHP код:
stock GetFactionName(playerid)
{
    new 
factionname[64];
    switch(
Player[playerid][PlayerFactionID])
    {
        case 
0factionname "Civilian";
        case 
1factionname "Faction1";
        case 
2factionname "Faction";
    }
    return 
factionname;

Reply


Messages In This Thread
Problem - by KinderClans - 28.09.2018, 11:09
Re: Problem - by Zeus666 - 28.09.2018, 11:16
Re: Problem - by KinderClans - 28.09.2018, 11:23
Re: Problem - by Zeus666 - 28.09.2018, 11:26
Re: Problem - by Undef1ned - 28.09.2018, 15:44

Forum Jump:


Users browsing this thread: 1 Guest(s)