17.11.2009, 15:59
I added the following code by myself to be able to write timed messages without needing many public timers....
Its coded this way (TimerMsg gets called first):
Now the messages doesnt gets shown, either the actions are done....
Can you pls tell me the wrong part of the script ?
Cheers,
Trooper
Its coded this way (TimerMsg gets called first):
Код:
public TimerMsg(playerid,string[],color,time,param) { SetTimerEx("TimedMessage",time,0,"isii",playerid,string,color,param); return 1; } public TimedMessage(playerid,string[],color,param) //einfacher als diese dummen Timer, die sich ggseitig aufrufen... { SendClientMessage(playerid,color,string); switch(param) //um auch custom aktionen auszufьhren { // case 0: if param isnt needed case 1: //action case 2: //action case 3: //action case 4: //action } return 1; }
Can you pls tell me the wrong part of the script ?
Cheers,
Trooper