[HELP]Dcmd
#1

What's the error?
dcmd_mytime(playerid,params[]) {

new tmp[256], tmp2[256], Index; tmp = strtok(params,Index), tmp2 = strtok(params,Index);
if(!strlen(params) || !IsNumeric(tmp2)) return SendClientMessage(playerid, red, " /settime [hour]");
new player1 = strval(tmp), time = strval(tmp2), string[128];
if(IsPlayerConnected(player1)) {

PlayerPlaySound(player1,1057,0.0,0.0,0.0);
return SetPlayerTime(player1, time, 0);

}

}
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)