Quote:
Originally Posted by Catalyst-
Change your function to the one below, and it will tell you where it fails.
pawn Код:
DragStop(copid, crimid) { SendClientMessageToAll(0x00FF00FF, "Started"); Drag[copid][Cop] = 0; SendClientMessageToAll(0xFFFFFFFF, "1"); Drag[crimid][Crim] = 0; SendClientMessageToAll(0xFFFFFFFF, "2"); Drag[copid][CopPlayer] = INVALID_PLAYER_ID; SendClientMessageToAll(0xFFFFFFFF, "3"); Drag[crimid][CrimPlayer] = INVALID_PLAYER_ID; SendClientMessageToAll(0xFFFFFFFF, "4"); KillTimer(DragTimer[crimid]); SendClientMessageToAll(0x00FF00FF, "Finished"); }
|
Thanks for the help but did you see the post? As I said before, it is stopping on the variables in general. If I implemented that count script you just suggested it would stop on "Started". I did it just to give it a go and it did as I believed it would. Stopped on "Started". It is something wrong with the variables I believe.