11.04.2016, 12:22
Try this
If this won't work try to debug it, you probably made something wrong on creating the CP
Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { if(newkeys & KEY_WALK) { if(IsPlayerInDynamicCP(playerid, CP_ID)) // CheckPoint { // Code } } return 1; }