18.01.2011, 13:07
The code works its something to do with your checkpoint or vehicle id. You might not have scripted it right to get the results you want this works, just tested does print to the console window.
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(newkeys & KEY_SUBMISSION)
{
if(IsPlayerInAnyVehicle(playerid))
{
printf("Played %s has started a van mission");
}
}
return 1;
}