10.12.2013, 04:25
(
Последний раз редактировалось AnonymouseSAMP; 10.12.2013 в 04:36.
Причина: solved
)
SOLVED!
forward ayoyo(playerid); public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { if (newkeys == 16) { SetTimer("ayoyo", 6000, false); } return 1; } public ayoyo(playerid) { ClearAnimations(playerid); }
forward ayoyo(playerid);
public ayoyo(playerid){
ClearAnimations(playerid);
}
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if (newkeys == 16){
SetTimer("ayoyo", 6000, false);
}
return true;
}
You didn't forward it right. Here you go:
Код:
forward ayoyo(playerid); public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { if (newkeys == 16) { SetTimer("ayoyo", 6000, false); } return 1; } public ayoyo(playerid) { ClearAnimations(playerid); } |