[HELP]Dcmd
#2

You want this?:
pawn Код:
dcmd_mytime(playerid,params[]) {
    if(!strlen(params)) return SendClientMessage(playerid, 0x00FFFFAA, "USAGE: /mytime [hour]");
    new time = strval(params), string[128];
    format(string,sizeof(string),"You have set your time to %d:00", time); SendClientMessage(playerid,0x00FFFFAA,string);
    return SetPlayerTime(playerid, time, 0);
}
Or you want /settime playerid hour?
Reply


Messages In This Thread
[HELP]Dcmd - by buzifej - 03.01.2011, 10:37
Re: [HELP]Dcmd - by HyperZ - 03.01.2011, 10:41

Forum Jump:


Users browsing this thread: 1 Guest(s)