Infernus special command.
#1

Hi, infernus(411) special command how do I add..

How do I add ?
if(IsPlayerInVehicle(playerid, 411)){

PHP код:
if(strcmp(cmd"/infobject"true) == 0)
{
if(
IsPlayerInAnyVehicle(playerid))
{
if(
GetPlayerState(playerid) != PLAYER_STATE_DRIVER){ SendClientMessage(playerid, -1"{FFFFFF}You must be the driver!");return 1;}
ShowPlayerDialog(playeridVehDialogDIALOG_STYLE_LIST"{FFFFFF}Infernus Vehicle Objects""{FFFFFF}Object 1\n Object2\n {FFFFFF}Object 3\n {FFFFFF}Object 4""Select""Cancel");
}
else
{
SendClientMessage(playerid, -1"{FFFFFF}You are not in any car!");
}
return 
1;

Reply


Messages In This Thread
Infernus special command. - by ProRakNet - 05.02.2016, 10:11
Re: Infernus special command. - by Mencent - 05.02.2016, 11:13
Re: Infernus special command. - by Sascha - 05.02.2016, 11:14
Re: Infernus special command. - by ProRakNet - 07.02.2016, 10:53
Re: Infernus special command. - by Mencent - 07.02.2016, 11:14

Forum Jump:


Users browsing this thread: 1 Guest(s)