Typing /enter with a car :/
#8

Quote:
Originally Posted by CSMajor
Посмотреть сообщение
pawn Код:
if(!strcmp(cmdtext,"/enter",true,6)) return SendClientMessage(playerid,0xFFF0000FF,"USAGE: /enter [Interior ID]");
{
if(IsPlayerInVehicle(playerid))
{
LinkVehicleToInterior(GetPlayerVehicleID(playerid),cmdtext[7]);
}
else
{
SendClientMessage(playerid,0xFFF0000FF,"You Are Not In A Vehicle!");
}
return 1;
}

please post the errors you get as i have not tested it
cmdtext = /enter
cmd = /enter (id)
:P so use

if(!strcmp(cmd(deleted text),"/enter",true,6)) return SendClientMessage(playerid,0xFFF0000FF,"USAGE: /enter [Interior ID]");
Reply


Messages In This Thread
Typing /enter with a car :/ - by Luis- - 11.08.2010, 23:58
Re: Typing /enter with a car :/ - by pmk1 - 12.08.2010, 00:09
Re: Typing /enter with a car :/ - by Luis- - 12.08.2010, 00:34
Re: Typing /enter with a car :/ - by CSMajor - 12.08.2010, 02:30
Re: Typing /enter with a car :/ - by pmk1 - 12.08.2010, 02:41
Re: Typing /enter with a car :/ - by CSMajor - 12.08.2010, 03:24
Re: Typing /enter with a car :/ - by Thebest96 - 12.08.2010, 08:45
Re: Typing /enter with a car :/ - by Mike_Peterson - 12.08.2010, 13:11
Re: Typing /enter with a car :/ - by sekol - 12.08.2010, 18:18
Re: Typing /enter with a car :/ - by sekol - 12.08.2010, 18:21

Forum Jump:


Users browsing this thread: 1 Guest(s)