01.09.2013, 22:42
Hello so, I'm asking for you help guys about OnPlayerKeyStateChange.
I was trying to do a multiple key detection (if he use the 3 key in the same time) - But I don't really see how I can do that, I've tryed this one but it's doesn't work.
I visit the wiki sa-mp and I still don't understand how to do it, so if you can explain me how and show me a example code, it's would be nice thanks.
I was trying to do a multiple key detection (if he use the 3 key in the same time) - But I don't really see how I can do that, I've tryed this one but it's doesn't work.
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(!IsPlayerInAnyVehicle(playerid) && /*idk*/)
{
if(Test== 1)
{
TestCount[playerid] ++;
if(TestCount[playerid] >= 3)
{
}
}
}
return 1;
}