help with creating rcon command
#1

This doesn't do much of anything in game. But I compiled it without errors. It's supposed to let the player put in /rcon onduty <the player's ID> What could keep this from working in game?

Код:
public OnRconCommand(cmd[])
{
	new acmd[280], idx;
	acmd = strtok(cmd, idx);

	if(!strcmp(acmd,"/onduty",true))
	{
		new Text3D:label = Create3DTextLabel("Admin On Duty", 0x990000FF, 30.0, 40.0, 50.0, 40.0, 0);
	 	Attach3DTextLabelToPlayer(label, idx, 0.0, 0.0, 0.6);
	}

	return 1;
	
}
Reply


Messages In This Thread
help with creating rcon command - by Dennis_Smith - 19.03.2012, 05:20
Re: help with creating rcon command - by RoboN1X - 19.03.2012, 06:26

Forum Jump:


Users browsing this thread: 1 Guest(s)