17.09.2015, 19:57
Quote:
zPawnu tente!
PHP код:
|
PHP код:
if(pInfo[i][Sheep] >= 1)
PHP код:
CMD:c(playerid, params[])
{
new Name[24], string[128], Texto[128];
GetPlayerName(playerid, Name, sizeof(Name));
if(sscanf(params, "s[128]", Texto)) return SendClientMessage(playerid, -1, "Use: /c [texto]");
format(string, sizeof(string), "%s Diz: {FFFFFF}%s", Name, Texto);
for(new i = 0; i < MAX_PLAYERS; i ++)
{
if(IsPlayerConnected(i))
{
if(pInfo[i][Sheep] >= 1)
{
SendClientMessage(i,-1, string);
}
}
}
return 1;
}