23.04.2012, 19:35
OHH
now its send the message :
To the admin and to the player!!
its the full command
help?
now its send the message :
PHP код:
format(string1, sizeof(string1),"%s[%d] מבקש להצטרף לפעילות השחקן",playerid,GetName(playerid));
SendClientMessage(i,0x8e0c9ff,string1);
its the full command
PHP код:
if(strcmp(tmp, "Join", true) == 0 || strcmp(tmp, "j", true) == 0)
{
if(activity == 0) return SendClientMessage(playerid, White, "אין פעילות מופעלת");
SendClientMessage(playerid,0x8e0c9ff,"ביקשת להצטרף לפעילות,חכה שהאחראי ישגר אותך");
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(GetAdminLevel(i) < 1 || IsPlayerAdmin(i) || GetAdminSpay(i) < 1 || GetTempAdminLevel(i) < 1)
{
format(string1, sizeof(string1),"%s[%d] מבקש להצטרף לפעילות השחקן",playerid,GetName(playerid));
SendClientMessage(i,0x8e0c9ff,string1);
}
}
return 1;
}