Disabling FS While In MiniGame +REP
#8

Quote:
Originally Posted by [PDS]DarioKeic
Посмотреть сообщение
Okay, I plugged this into my /v.


This is what it looked like.

Then. When i enter /dmarena, and try /v it says "You Must leave DM arena" But it still spawns a car.
You must first check for DM and then show player dialog.
pawn Код:
dcmd_v(playerid, params[])
{
#pragma unused params
new dmcheck = CallRemoteFunction("IsPlayerInDM","i",playerid);
if(dmcheck == 1) return SendClientMessage(playerid,-1,"You must leave DM arena");
ShowVehicleDialog(playerid);
return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)