Jump to content
  • 0

Question

Posted

Problema intalnita (descriere):Am adauga un mesaj la comanda /gotols si nu apare mesajul nu stiu de ce 
Ero(area / rile) / warning-(ul / urile):
Liniile de cod / sursa / script-ul(obligatoriu):

CMD:gotols(playerid, params[])
{
    if(playerVariables[playerid][pAdminLevel] >= 1 || playerVariables[playerid][pHelper] >= 2)
    {
        SetPlayerPos(playerid, 1529.1075,-1660.6410,13.3828);
        SetPlayerInterior(playerid, 0);
        SetPlayerVirtualWorld(playerid, 0);
        format(szMessage, sizeof(szMessage), "[AdmWarning] {ffffff}Admin %s [ID%d] s-a teleportat in Los Santos [/gotols].",playerVariables[playerid][pNormalName], playerid);
    }
    

Imagini / Video (optional):
Ati incercat sa rezolvati singur?: Da

2 answers to this question

Recommended Posts

  • 0
Posted
CMD:gotols(playerid, params[])
{
    if(playerVariables[playerid][pAdminLevel] >= 1 || playerVariables[playerid][pHelper] >= 2)
    {
        SetPlayerPos(playerid, 1529.1075,-1660.6410,13.3828);
        SetPlayerInterior(playerid, 0);
        SetPlayerVirtualWorld(playerid, 0);
        format(szMessage, sizeof(szMessage), "[AdmWarning] {ffffff}Admin %s [ID%d] s-a teleportat in Los Santos [/gotols].",GetName(playerid), playerid);
		submitToAdmins(szMessage, -1);
    }
	return 1;
}

// SubmitToAdmins inlocuiesti cu publicul tau cum il ai.

 

  • Upvote 1
  • 0
Posted
4 hours ago, marius11 said:

Problema intalnita (descriere):Am adauga un mesaj la comanda /gotols si nu apare mesajul nu stiu de ce 
Ero(area / rile) / warning-(ul / urile):
Liniile de cod / sursa / script-ul(obligatoriu):

CMD:gotols(playerid, params[])
{
    if(playerVariables[playerid][pAdminLevel] >= 1 || playerVariables[playerid][pHelper] >= 2)
    {
        SetPlayerPos(playerid, 1529.1075,-1660.6410,13.3828);
        SetPlayerInterior(playerid, 0);
        SetPlayerVirtualWorld(playerid, 0);
        format(szMessage, sizeof(szMessage), "[AdmWarning] {ffffff}Admin %s [ID%d] s-a teleportat in Los Santos [/gotols].",playerVariables[playerid][pNormalName], playerid);
    }
    

Imagini / Video (optional):
Ati incercat sa rezolvati singur?: Da

Presupun ca este un mesaj care vrei să apăra tuturor, deci sub acel format pui:

SendClientMessageToAll(-1,szmessage);

Unde acel -1 reprezintă culoarea textului.

**********************************

Servicii Scripting de calitate:

*********************************

Future Project: ExpertGame

*********************************

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.