\n not working in my script
#9

Quote:
Originally Posted by Dwane
Посмотреть сообщение
It is Pawn, pawno is the compiler.

And please, don't double post just use the edit button.
It wasnt my fault. I temporarily lost connection and somehow it double posted. I tried deleting it but found no option.

EDIT:

Oh, and my bad, Pawn scripting lol.

EDIT again:

So, I went ahead and tried to make my own /setcustomrank command:

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
	if (strcmp("/setcustomrank", cmdtext, true, 10) == 0)
	{
        new str[128];
        format(str, sizeof(str), "%s\n%s", str, cmdtext);
        new Text3D:label3 = Create3DTextLabel(str, 0xFFFF00FF, 30.0, 40.0, 50.0, 40.0, 0);
    	Attach3DTextLabelToPlayer(label3, playerid, 0.0, 0.0, 0.2);
    	SendClientMessage(playerid, 0x33AA33AA, "You have set your rank to %s");
		return 1;
	}
	return 0;
}
It causes the server to crash whenever I use it. Help D:
Reply


Messages In This Thread
\n not working in my script - by Calvingreen17 - 28.12.2012, 07:20
Re: \n not working in my script - by Grim_ - 28.12.2012, 07:25
Re: \n not working in my script - by Calvingreen17 - 28.12.2012, 07:43
Re: \n not working in my script - by Calvingreen17 - 28.12.2012, 08:23
Re: \n not working in my script - by roryprayana - 28.12.2012, 08:29
Re: \n not working in my script - by Calvingreen17 - 28.12.2012, 08:32
Re: \n not working in my script - by Calvingreen17 - 28.12.2012, 09:31
Re: \n not working in my script - by Konstantinos - 28.12.2012, 09:42
Re: \n not working in my script - by Calvingreen17 - 28.12.2012, 09:43

Forum Jump:


Users browsing this thread: 4 Guest(s)