12.08.2012, 19:22
Quote:
It may have something to do with your streamer, but I don't know why don't you try incognitos streamer, create a CP in an interior and see if it prints. (do you actually see the checkpoint in the interior?).
|
I do see the checkpoint. I got a little flustered by this so I decided to just make it display and make it work off of KeyStateChange. Well, with the KEY_SPRINT key, it only works on enter. Same thing, it wont fire the callback.. what gives!!
Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { if (newkeys & KEY_SPRINT) { printf("InCheckpoint - ExitCheckpoint: %d - StreamedLocation: %d - Created: %d - ExitSet: %d",ExitCheckpoint[playerid],StreamedLocation[playerid],Checkpoints[StreamedLocation[playerid]][Created],Checkpoints[StreamedLocation[playerid]][ExitSet]); ... }