Slight Problem
#1

Im having a small problem with my plate change commend:

Код:
COMMAND:mplate(playerid, params[])
    {
	new pr0veh;
	pr0veh = GetPlayerVehicleID(playerid);
        if(isnull(params)) return SendClientMessage(playerid, 0xFFFFFFFF, "/mplate [text]");
        new string[128];
        format(string, sizeof(string), "%s",params);
        SetVehicleNumberPlate(pr0veh,string);
        SendClientMessage(playerid, 0xFFFFFFFF, "Plate Customized!");
        return 1;
     }
It works but the person who types it has to respawn to see it (and sometimes still sees default) I tried respawning the car but then it goes back to where it was spawned and the paintjob/mods are lost.Anybody have a solution please?
Reply


Messages In This Thread
Slight Problem - by [p3]pr0t0typ3 - 26.09.2012, 23:50
Re: Slight Problem - by Vince - 26.09.2012, 23:53
Re: Slight Problem - by [p3]pr0t0typ3 - 27.09.2012, 00:11

Forum Jump:


Users browsing this thread: 1 Guest(s)