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

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;
}
|
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;
}
|
//==============================================================================
// Player Text
//==============================================================================
public OnPlayerText(playerid, text[])
{
new pChat[250], string[128], ctime, PText[256];
CMD:minigun(playerid, params[])
{
return cmd_mg(playerid, params);
}