Jump to content
  • 0

cum blochez



6 answers to this question

Recommended Posts

Folosesti variabila care zice daca e in derby sau nu.

Sa zicem ca asa ai tu:

if( newkeys & KEY_SUBMISSION )
    RepairVehicle( GetPlayerVehicleID( playerid ) );
Tu schimbi in asta:
if( newkeys & KEY_SUBMISSION && Derby[ playerid ] == 0 )
    RepairVehicle( GetPlayerVehicleID( playerid ) );

Sper ca ai prins ideea.

Link to comment
Share on other sites

asta e comanda /derby

CMD:derby(playerid, params[])


        if(DMZone[playerid])return SendClientMessage(playerid,COLOR_WHITE,"You can't exit this DM!Use {FF0000}/exitdm");

  		SetPlayerInterior(playerid, 15);

   		SetPlayerPos(playerid, x,y,z);

    	SetTimerEx("Nombre", 3000, 0, "d", playerid);

        TogglePlayerControllable(playerid, 0);
        IsPlayerInZone[ playerid ] = 1;

     	return 1;

Link to comment
Share on other sites

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.