25.10.2010, 04:05
So i tryed this code under OnPlayerKeyStateChange:
But, it only sends a message once (when i pressed) but this is suppose to detect 'HOLDING' so why doesn't it spam my chat with that message? Am i doing something wrong? Please help me, thank you.
pawn Код:
if(HOLDING(KEY_FIRE))
{
SendClientMessage(playerid,COLOR_RED,"SERVER: Your holding LMB, good job.");
}
