Jump to content
  • 0

repair de pe 2


ruben88

Question

4 answers to this question

Recommended Posts

Cauti in GM : public OnPlayerKeyStateChange(playerid, oldkeys, newkeys)

Inauntrul asteia adaugi :

if((newkeys & KEY_SUBMISSION) && IsPlayerInAnyVehicle(playerid))
{
       RepairVehicle(GetPlayerVehicleID(playerid)); SendClientMessage(playerid, COLOR_WHITE, "Your vehicle was succesfully repaired.");
} 

Ar trebui sa-ti mearga.

Link to comment
Share on other sites

Atunci fa unu:

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{

	if((newkeys & KEY_SUBMISSION) && IsPlayerInAnyVehicle(playerid))
	{
	       RepairVehicle(GetPlayerVehicleID(playerid)); SendClientMessage(playerid, COLOR_WHITE, "Your vehicle was succesfully repaired.");
	}
	return 1;
}

Punel in afara unui public!

142sj0l.png

Underground-GFX

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.