Jump to content
  • 0

Question

Posted

SALZ AM SI EU O COMANDA MINIGUN LUAT DIN TRUN GM

SI CAND DAU EXITM NU MA SCOATE NUSH DC ARE IDE CAREVA ACESTA ESTE CODU

if(!strcmp(cmdtext, "/minigun", true))
	{
    GameTextForPlayer(playerid,"~r~~h~Use /exitm for leave.",3000,5);
	ResetPlayerWeapons(playerid);
	GameTextForPlayer(playerid,"~r~~h~Type /exitm for leave!",3000,5);
    SetTimer("reclamatime",10000,false);
	SetPlayerRandomSpawnMinigun(playerid);
	GivePlayerWeapon(playerid,38 , 9999);
  	SetPlayerFacingAngle(playerid, 0.0);
	SetPlayerInterior(playerid, 0);
   	SetPlayerWorldBounds(playerid, 1439.348, 1271.44, 2235.263, 2080.541);
    return 1;
	}

if (strcmp("/exitm", cmdtext, true, 10) == 0)
    {
    if(InMinigun[playerid] == 1)
    {
    if(IsPlayerInAnyVehicle(playerid)) RemovePlayerFromVehicle(playerid);
	SetPlayerPos(playerid,403.447265,2466.154296,16.506214);
	ResetPlayerWeapons(playerid);
	SetPlayerWorldBounds(playerid, 20000.0000,-20000.0000,20000.0000,-20000.0000); // Bounderies Off//
   	InMinigun[playerid] = 0;
	}
	if(InMinigun[playerid] == 0)
    {
    SendClientMessage(playerid,COLOR_ULTRARED,"You are not in Minigun zone. Type /minigun");
    }
	return 1;
    }

5 answers to this question

Recommended Posts

Posted

Exact asta am spus si eu doar ca i-am spus ca poate nu a adaugat si variabila  :lipsrsealed:

Am dat din greseala Modify la tine am vrut sa dau Quote.

35012l1.png.aee1a3398b9bd9f8eec50574d2cd

Posted

Defapt prima data ai pus cu 0 si dupa ai modificat si ai pus 1 , daca puneai 1 de prima data nu mai dadeam replay.

 

1859311972_BANNER-GIREADAcopy-min.thumb.png.48e5e420ae2185dce5b244965a1d2601.png

 

Guest
This topic is now closed to further replies.
×
×
  • 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.