12.02.2016, 13:33
Hi , once read the below codes.
How can i assign value to time[playerid] of what was entered in the params? that means /timeshow 100. then the value of time[playerid] must be 100.
Код:
new time[MAX_PLAYERS];
CMD:timeshow(playerid,params[])
{
new time_seconds;
if(sscanf(params,"d",time)) return SendClientMessage(playerid,-1,"/show <seconds>");
time[playerid] = time //what he entered in the params.
return 1;
}

