12.06.2013, 15:33
Hey, I'm experiencing a Invalid Target ID Bug in my server.
I use the if(!IsPlayerConnected(targetid)) return SendClientMessage(playerid, COLOR, "Invalid Target ID.");
There's nothing wrong in it, the point is,
Every time a player logs in, You can use commands on him, example, you login as ID 0,
You /q, you re-log, you're ID 0 still since nobody joined,
You try a command on your ID like /isafk 0 or /kick 0 or /ban 0 or any single command that requires targetid it will give you "Invalid Target ID"
Tried to update my sscanf, I just dragged the files to my script folder and recompiled the script,
anything else i need to do to fix this?
I use the if(!IsPlayerConnected(targetid)) return SendClientMessage(playerid, COLOR, "Invalid Target ID.");
There's nothing wrong in it, the point is,
Every time a player logs in, You can use commands on him, example, you login as ID 0,
You /q, you re-log, you're ID 0 still since nobody joined,
You try a command on your ID like /isafk 0 or /kick 0 or /ban 0 or any single command that requires targetid it will give you "Invalid Target ID"
Tried to update my sscanf, I just dragged the files to my script folder and recompiled the script,
anything else i need to do to fix this?