Some problems.
#3

Hmm. Didn't seem to work. Could it be because of includes at the top?

I have one zcmd cmd and it works


Код:
COMMAND:v(playerid, params[])
{
    new vehicleid, color1, color2;
    if(!sscanf(params, "iii", vehicleid, color1, color2))
    {
        new vin;
        new Float:x, Float:y, Float:z;
        GetPlayerPos(playerid, x, y, z);
        vin=CreateVehicle(vehicleid, x, y, z, 0.0, color1, color2, -1);
        PutPlayerInVehicle(playerid, vin, 0);
    }else{
        SendClientMessage(playerid, COLOR_GREY, "ERROR: This command requires: /v [vehicleid][color1][color2]");
    }
    return 1;
}
Reply


Messages In This Thread
Some problems. - by nogh445 - 20.11.2011, 16:39
Re: Some problems. - by Tanush123 - 20.11.2011, 16:49
Re: Some problems. - by nogh445 - 20.11.2011, 16:55
Re: Some problems. - by SmiT - 20.11.2011, 17:00
Re: Some problems. - by nogh445 - 20.11.2011, 17:03
Re: Some problems. - by Tanush123 - 20.11.2011, 17:03
Re: Some problems. - by Kostas' - 20.11.2011, 17:09
Re: Some problems. - by nogh445 - 20.11.2011, 17:12
Re: Some problems. - by SmiT - 20.11.2011, 17:16
Re: Some problems. - by Tanush123 - 20.11.2011, 19:43

Forum Jump:


Users browsing this thread: 2 Guest(s)