03.10.2010, 14:26
So this should work (KEY_SUBMISSION only works in vehicles)
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(newkeys & KEY_SUBMISSION)
{
//Rest of code
}
return 1;
}