06.02.2015, 16:29
Code:
//Somewhere on your gamemode (Not in any function/stock) IsInMinigunArena[MAX_PLAYERS];
Code:
//OnPlayerCommandText
if (strcmp("/minigun", cmdtext, true, 10) == 0)
{
IsInMinigunArena[playerid] = 1;
SetPlayerPos(playerid, 00.0000, 00.0000, 00.0000);
return 1;
}
Code:
//OnPlayerCommandText
if (strcmp("/goto", cmdtext, true, 10) == 0)
{
if(IsInMinigunArena[playerid] != 0) return SendClientMessage(playerid, 0xFF0000C8, "You CANNOT Use This Command now!");
//Your /goto code
return 1;
}

