21.09.2010, 15:10
targetid will be zero as soon as it is defined.
You are checking if targetid is connected before assigning it the value with sscanf.
Put the sscanf before the if(IsPlayerConnected(targetid) .. etc
You are checking if targetid is connected before assigning it the value with sscanf.
Put the sscanf before the if(IsPlayerConnected(targetid) .. etc