Cmd issue
#5

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/grass", cmdtext, true, 6) == 0)
    {
        new vehicleid = GetPlayerVehicleID(playerid);

        if (GetVehicleModel(vehicleid) == 572)
        {
            SetPlayerCheckpoint(playerid, 779.9626, -1259.1793, 13.5719, 3.0);
        }
        else
        {
            SendClientMessage(playerid,0xE60000FF, "You Must Be Driving A Lawnmower To Use This Command.");
        }
        return 1;
    }
    return 0;
}
Reply


Messages In This Thread
Cmd issue - by Shinzei_Banzai - 07.07.2009, 11:57
Re: Cmd issue - by refshal - 07.07.2009, 12:05
Re: Cmd issue - by Shinzei_Banzai - 07.07.2009, 12:07
Re: Cmd issue - by Shinzei_Banzai - 07.07.2009, 12:09
Re: Cmd issue - by happyface - 07.07.2009, 12:10
Re: Cmd issue - by Shinzei_Banzai - 07.07.2009, 12:18
Re: Cmd issue - by refshal - 07.07.2009, 12:19
Re: Cmd issue - by happyface - 07.07.2009, 12:21
Re: Cmd issue - by Shinzei_Banzai - 07.07.2009, 12:23
Re: Cmd issue - by happyface - 07.07.2009, 12:52

Forum Jump:


Users browsing this thread: 3 Guest(s)