help error please
#1

got resolved it
Reply
#2

Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
       #pragma ret_mempcy
	if (PRESSED(KEY_SPRINT))
	{
       if(IsPlayerInAnyVehicle(playerid))
	{
       RepairVehicle(GetPlayerVehicleID(playerid));
       SendClientMessage(playerid, 0xFFFFFFFF, "Your vehicle has been successfully repaired!");
       }
       {
       else SendClientMessage(playerid, 0xFFFFFFFF, "You are not in a vehicle!");
	}
	}
       }
	return 1;
}
Try this.
If it don't work than tell me what line line 1046 is.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)