01.06.2016, 13:42
para1 = integer
faction = string
lines
format(string, sizeof (string), "Your faction has been changed to %i by %s (%i)", faction, para1);
SendClientMessage(para1, -1, string);
Only 2 variables, 1 missing.
faction = string
lines
format(string, sizeof (string), "Your faction has been changed to %i by %s (%i)", faction, para1);
SendClientMessage(para1, -1, string);
Only 2 variables, 1 missing.
Код:
GetPlayerName(para1, faction, sizeof(faction)); format(string, sizeof (string), "You have set %i's faction to %s.", para1, faction ); SendClientMessage(playerid, -1, string); format(string, sizeof (string), "Your faction has been changed to %i by %s (%i)", faction, para1); SendClientMessage(para1, -1, string); Player[para1][pLeader] = faction; return 1; }