Help with command
#1

Код:
dcmd_rims(playerid,params[])
{
	#pragma unused params
 	ShowMenuForPlayer(tune,playerid);
  TogglePlayerControllable(playerid, 0);
	return 1;
}
How could i make this command work only if your in a vehicle otherwise it would send you a error message saying 'Error: you have to be in a vehicle to use this command'.

please help
Reply


Messages In This Thread
Help with command - by Lorenc_ - 31.01.2010, 01:54
Re: Help with command - by [HiC]TheKiller - 31.01.2010, 02:04
Re: Help with command - by Lorenc_ - 31.01.2010, 02:15
Re: Help with command - by bluray - 31.01.2010, 02:59

Forum Jump:


Users browsing this thread: 1 Guest(s)