Passing color code
#8

Quote:
Originally Posted by Benjo
Посмотреть сообщение
You are passing the color variable as a string in the timer. Change it to an integer/decimal:
pawn Код:
SetTimerEx("SendServerMessage",WaitTime+50,0,"dds",playerid,color,text); // dds instead of dss
This would explain why it compiles fine, but then crashes when it tries to give your color parameter a string value.
Tried that, still crashes..
Reply


Messages In This Thread
SetTimerEx = Server Crash - by *IsBack - 18.12.2010, 16:54
Re: Passing color code - by JaTochNietDan - 18.12.2010, 17:00
Re: Passing color code - by *IsBack - 18.12.2010, 17:03
Re: Passing color code - by JaTochNietDan - 18.12.2010, 17:06
Re: Passing color code - by *IsBack - 18.12.2010, 17:08
Re: Passing color code - by Mean - 18.12.2010, 17:08
Re: Passing color code - by Benjo - 18.12.2010, 18:05
Re: Passing color code - by *IsBack - 18.12.2010, 18:30
Re: Passing color code - by *IsBack - 19.12.2010, 07:49
Re: Passing color code - by Ash. - 19.12.2010, 08:00

Forum Jump:


Users browsing this thread: 3 Guest(s)