Why dosn't this work?
#1

Sorry for double post, but people stopped to answer... but now i got more info.
This script makes the server to crash, I'm tryint to make /help that shows some text.

Here is the script:

Код:
	if(strcmp(cmdtext, "/help", true) == 0)
	{
		SendPlayerFormattedText(playerid,"This server is a Gangsta Roleplay server, this isn't a Deathmatch or a Turfwar server.",0);
		SendPlayerFormattedText(playerid,"You saw a hacker, rule breaker, spammer or a deathmatcher? Please report it to a admin.",0);
		SendPlayerFormattedText(playerid,"",0);
		SendPlayerFormattedText(playerid,"Text", 0);
		return 1;
  }
}
And on the bottom of Pawno:

Код:
forward SendPlayerFormattedText(playerid, const str[], define);
public SendPlayerFormattedText(playerid, const str[], define)
{
	new tmpbuf[256];
	format(tmpbuf, sizeof(tmpbuf), str, define);
	SendClientMessage(playerid, 0x33CCFFAA, tmpbuf);
}
Reply


Messages In This Thread
Why dosn't this work? - by FreddeN - 23.05.2009, 16:37
Re: Why dosn't this work? - by Google63 - 23.05.2009, 16:39
Re: Why dosn't this work? - by FreddeN - 23.05.2009, 16:46
Re: Why dosn't this work? - by .::: Ecko :::. - 23.05.2009, 16:49

Forum Jump:


Users browsing this thread: 1 Guest(s)