26.04.2012, 17:54
PHP код:
new ActivityJoin;
PHP код:
forward ActivityJoin(playerid,const string[]);
public ActivityJoin(playerid,const string[])
format(string1, sizeof(string1),"обчщ мдцишу мфтймеъ %s[%d] дщзчп",GetName(playerid),playerid);
SendAdminsMessage(0x8e0c9ff,string1);
SendClientMessage(playerid,0x8e0c9ff,"бйчщъ мдцишу мфтймеъ , злд щдазшай йцшу аеък");
ActivityJoin[playerid] = SetTimerEx("ActivityJoin",1000, 0, "is", playerid);
return 1;
}
PHP код:
if(strcmp(tmp, "Join", true) == 0 || strcmp(tmp, "j", true) == 0)
{
if(activity == 0) return SendClientMessage(playerid,White,"айп фтймеъ оефтмъ");
format(string1, sizeof(string1),"обчщ мдцишу мфтймеъ %s[%d] дщзчп",GetName(playerid),playerid);
SendAdminsMessage(0x8e0c9ff,string1);
SendClientMessage(playerid,0x8e0c9ff,"бйчщъ мдцишу мфтймеъ , злд щдазшай йцшу аеък");
ActivityJoin[playerid] = SetTimerEx("ActivityJoin",1000, 0, "is", playerid);
return 1;
}
PHP код:
error 029: invalid expression, assumed zero
error 029: invalid expression, assumed zero
error 001: expected token: ";", but found "]"
On command join line:
ActivityJoin[playerid] = SetTimerEx("ActivityJoin",1000, 0, "is", playerid);