Help With In Car Only Commands
#10

Hope this helps you:
pawn Код:
if(strcmp(cmdtext, "/testcmds", true, 5) == 0)
{
if(IsPlayerInAnyVehicle(playerid))
{
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 420)
{
SendClientMessage(playerid,0xAA3333AA,"You Are In A Taxi.");
}
else
{
SendClientMessage(playerid,0xAA3333AA,"You Are Not In A Taxi.");
}
}
else
{
SendClientMessage(playerid,0xAA3333AA,"You Are Not In A Vehicle.");
}
return 1;
}
Reply


Messages In This Thread
Help With In Car Only Commands - by Smiths - 15.08.2009, 15:14
Re: Help With In Car Only Commands - by Correlli - 15.08.2009, 15:17
Re: Help With In Car Only Commands - by Smiths - 15.08.2009, 15:19
Re: Help With In Car Only Commands - by Smiths - 15.08.2009, 15:22
Re: Help With In Car Only Commands - by Correlli - 15.08.2009, 15:27
Re: Help With In Car Only Commands - by or_yagoda - 15.08.2009, 15:27
Re: Help With In Car Only Commands - by Smiths - 15.08.2009, 15:38
Re: Help With In Car Only Commands - by Correlli - 15.08.2009, 15:50
Re: Help With In Car Only Commands - by Smiths - 15.08.2009, 16:00
Re: Help With In Car Only Commands - by Correlli - 15.08.2009, 16:03

Forum Jump:


Users browsing this thread: 1 Guest(s)