ID's are messed up
#4

Quote:
Originally Posted by hansen111
Посмотреть сообщение
If you want to know what the problem was which was corrected in the post by Andi_Evandi then this line:

if(sscanf(params,"us[100]",PID,Message))

is the code that actually assign the variables PID and Message the values you put in the command. So placing this line AFTER you use PID and Message is pointless, by moving the line in top the values are assigned correctly and you can use those varibles in code AFTER like:

else if (PM_Enabled[PID] == 1)

Hope it maskes sence to you
Yes i understood it , thanks
Reply


Messages In This Thread
ID's are messed up - by CoDeZ - 19.07.2012, 11:49
Re: ID's are messed up - by Andi_Evandy - 19.07.2012, 12:03
Re: ID's are messed up - by hansen111 - 19.07.2012, 12:11
Re: ID's are messed up - by CoDeZ - 19.07.2012, 12:21

Forum Jump:


Users browsing this thread: 1 Guest(s)