Problem help
#1

My chat text color is green and it small line

Код:
//==============================================================================
// Player Text
//==============================================================================
public OnPlayerText(playerid, text[])
{
	new pChat[250], string[128], ctime, PText[256];

when i write /leave it's still on DM won't leave area

Код:
CMD:leave(playerid, params [])
{

    new rand = random(sizeof(Leavespawnpoints));
	SetPlayerPos(playerid, Leavespawnpoints[rand][0], Leavespawnpoints[rand][1], Leavespawnpoints[rand][2]);
	SetPlayerVirtualWorld(playerid, 0);
	SetPlayerInterior(playerid, 0);
	ResetPlayerWeapons(playerid);
    SetPlayerHealth(playerid, 100);
    return 1;
}
Reply
#2

Quote:
Originally Posted by Spartaaaaa
Посмотреть сообщение
My chat text color is green and it small line

Код:
//==============================================================================
// Player Text
//==============================================================================
public OnPlayerText(playerid, text[])
{
	new pChat[250], string[128], ctime, PText[256];

when i write /leave it's still on DM won't leave area

Код:
CMD:leave(playerid, params [])
{

    new rand = random(sizeof(Leavespawnpoints));
	SetPlayerPos(playerid, Leavespawnpoints[rand][0], Leavespawnpoints[rand][1], Leavespawnpoints[rand][2]);
	SetPlayerVirtualWorld(playerid, 0);
	SetPlayerInterior(playerid, 0);
	ResetPlayerWeapons(playerid);
    SetPlayerHealth(playerid, 100);
    return 1;
}
The first one, We can't help with the Color, We have to see the format of the message, And about small line, I didn't understand what you do mean.
About the command, Can I see the command which allows you to go to DM Mode ?
Reply
#3

Which code you want?
Reply
#4

I search for "OnPlayerText" it's show me this code:
Код:
//==============================================================================
// Player Text
//==============================================================================
public OnPlayerText(playerid, text[])
{
	new pChat[250], string[128], ctime, PText[256];
When i write /Leave it's teleport to other area but i can't use any command bcuz it's still saying Write /Leave to leave DM, but i already wrote /leave i don't know what to do.
Reply
#5

The command that enter's the DM please.
Reply
#6

Код:
CMD:minigun(playerid, params[])
{
	return cmd_mg(playerid, params);
}
Reply
#7

bump
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)