[Help] How to do a /helpme command
#5

You put it under

public OnPlayerCommandText(playerid, cmdtext[])

like this:

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext,"/helpme",true)==0)
{
SendClientMessage(playerid, color,"texthere...");
SendClientMessage(playerid, color,"texthere...");
SendClientMessage(playerid, color,"texthere...");
SendClientMessage(playerid, color,"texthere...");
return 1;
}
	return 0;
}
Then go ingame and type /helpme

Note: change the 'texthere...' to the info you want to show the member.
Reply


Messages In This Thread
[Help] How to do a /helpme command - by PilotXtreme - 24.10.2010, 21:31
Re: [Help] How to do a /helpme command - by Camacorn - 24.10.2010, 21:35
Re: [Help] How to do a /helpme command - by Camacorn - 24.10.2010, 21:37
Re: [Help] How to do a /helpme command - by PilotXtreme - 24.10.2010, 21:43
Re: [Help] How to do a /helpme command - by Camacorn - 24.10.2010, 21:47
Re: [Help] How to do a /helpme command - by dLu - 24.10.2010, 21:49
Re: [Help] How to do a /helpme command - by Steven82 - 24.10.2010, 21:50
Re: [Help] How to do a /helpme command - by PilotXtreme - 24.10.2010, 22:04
Re: [Help] How to do a /helpme command - by Jochemd - 25.10.2010, 08:16

Forum Jump:


Users browsing this thread: 2 Guest(s)