Setplate help
#2

Untested... Also this is without params, so you cannot get your own text, but you can change that.

pawn Код:
if (strcmp(cmdtext, "/setplate", true) == 0)
{
    new vehicleid;//Since it's not defined under OnPlayerCommandText
    vehicleid = GetPlayerVehicleID(playerid);//So that it actually gets the vehicleid
    if(pInfo[playerid][pDonateRank] < 1) return SendClientMessage(playerid, COLOR, "You're not a VIP");//I am guessing you are using pInfo
    SetVehicleNumberPlate(vehicleid, "Hi");//Setting the plate to "Hi"
    return 1;
}
Reply


Messages In This Thread
Setplate help - by Meinstad - 13.03.2011, 14:00
Re: Setplate help - by alpha500delta - 13.03.2011, 15:02
Re: Setplate help - by xRyder - 13.03.2011, 15:08
Re: Setplate help - by Meinstad - 13.03.2011, 16:00
Re: Setplate help - by xRyder - 13.03.2011, 16:51
Re: Setplate help - by Hashski - 13.03.2011, 16:59
Re: Setplate help - by Meinstad - 13.03.2011, 17:02
Re: Setplate help - by xRyder - 13.03.2011, 17:09
Re: Setplate help - by Meinstad - 13.03.2011, 17:13
Re: Setplate help - by HyperZ - 13.03.2011, 17:14

Forum Jump:


Users browsing this thread: 2 Guest(s)