I got two questions < Please Help Me !
#5

Quote:
Originally Posted by billiout
1.

im not sure because im new on scripting too but use instead of strlen the 3 number of your letters

Код:
	if(!strcmp(cmdtext, "/do", true, 3))
	{
    if (!cmdtext[3]) return SendClientMessage(playerid, 0xFFFFFFFF, "USAGE: /do [Situation]");
	new name[MAX_PLAYER_NAME];
	GetPlayerName(playerid, name, sizeof name);
	format(cmdtext, 128, "* %s ( %s ) ", cmdtext[4], name );
	new Float:x, Float:y, Float:z;
	GetPlayerPos(playerid, x, y, z);
	for(new i, m = GetMaxPlayers(); i < m; i++) if (IsPlayerConnected(i))
	{
	if (IsPlayerInRangeOfPoint(i, 15.0, x, y, z)) SendClientMessage(i, COLOR_PURPLE, cmdtext);
	}
	return 1;
	}
hope helped and for the 2 question i dont know.
Sorry but doesnt works
Please help me and if you can edit my script (on the second problem) so its works.

PS - Oh and please dont give not tested and not working scripts, this doesnt helps almost nobody (especelly newbies)
Reply


Messages In This Thread
I got two questions < Please Help Me ! - by Varna - 08.06.2010, 15:22
Re: I got two questions < Please Help Me ! - by billiout - 08.06.2010, 15:47
Re: I got two questions < Please Help Me ! - by Assyria - 08.06.2010, 15:52
Re: I got two questions < Please Help Me ! - by Jakku - 08.06.2010, 16:54
Re: I got two questions < Please Help Me ! - by Varna - 08.06.2010, 19:17
Re: I got two questions < Please Help Me ! - by Varna - 09.06.2010, 16:26
Re: I got two questions < Please Help Me ! - by Ady.b - 05.07.2010, 19:54

Forum Jump:


Users browsing this thread: 1 Guest(s)