23.05.2009, 16:37
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:
And on the bottom of Pawno:
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;
}
}
Код:
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);
}


