Respawn car command
#9

i tried to make my own here is wat it is

pawn Код:
dcmd_respawnveh(playerid, params[])
{
    if(!CmdLevelCheck(playerid,"respawnveh")) return CmdLevelError(playerid,"respawnveh");
    new id, tmp[128];
    if(sscanf(params, "uz", id, tmp)) return SendClientMessage(playerid, RED, "USAGE: /RESPAWNVEH [ID]");
    format(tmp, sizeof tmp, "",Car(id), AdminName(playerid), (tmp[0]) ? ("") : ("."), tmp[0], (tmp[0]) ? (" ]") : (""));
    SendClientMessageToAll(YELLOW, tmp), print(tmp), SaveToLog("respawnvehs",tmp), SetInfo(id,"respawnvehs",GetInfo(id,"Respawnvehs")+1);
    SendCommandMsg(playerid,"respawnveh");
    format(tmp,sizeof(tmp),"",AdminName(playerid));
    SpecialLeaveReason[id]=1,PlayerLeaveReason[id]=tmp;
    return respawnveh(id);
}
Reply


Messages In This Thread
Respawn car command - by Trucker[UK] - 02.08.2011, 12:49
AW: Respawn car command - by Drebin - 02.08.2011, 12:52
Re: AW: Respawn car command - by Trucker[UK] - 02.08.2011, 12:53
Re: Respawn car command - by sleepysnowflake - 02.08.2011, 12:54
Re: Respawn car command - by antonio112 - 02.08.2011, 12:57
Re: Respawn car command - by Trucker[UK] - 02.08.2011, 12:59
Re: Respawn car command - by Basicz - 02.08.2011, 13:06
Re: Respawn car command - by Mean - 02.08.2011, 13:10
Re: Respawn car command - by Trucker[UK] - 02.08.2011, 13:29
Re: Respawn car command - by Trucker[UK] - 21.09.2011, 22:57

Forum Jump:


Users browsing this thread: 5 Guest(s)