OnPlayerKeyStateChange problem
#1

Why this just works if im in a car?

Quote:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(PRESSED(KEY_SUBMISSION))
{
SendClientMessage(playerid,COLOR_YELLOW,"You need to be in a vehicle!");
}
return 1;
}

Thanks.
Reply
#2

I just got it why, its because I use a "KEY_SUBMISSION" that only works if I in a car, thanks anyway
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)