Jump to content
  • 0

Question

Posted

buna, am o problema, am bagat pe server comenzile /snowon si /sonwoff

dar mai intii de comenzi am bagat caciula de mos craciun

problema este cind dau /snowon api dispare caciula de pe cap si mai dau odata nu apare.

ce poate sa aiba?

7 answers to this question

Recommended Posts

Posted

Si cum ai vrea sa te ajutam daca nu ne arati si noua comenzile ?. Nu avem de unde sti ce ai tu in gamemod ...

PS: Invata intai limba romana  ;;)

communitylogosml.png

94.23.120.101:7778

Posted

//=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-snowon-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
if(strcmp(cmd, "/snowon", true) == 0) //by JustRed
{
   if(PlayerInfo[playerid][pServerAdmin] >= 5)
{
   if(SnowOn == 0)
   {
   for(new i=0; i<MAX_PLAYERS; i++)
{
    SetPlayerAttachedObject(i, 3, 18863, 1, 14.877702, -3.078147, 19.289804, 213.993621, 36.619785, 334.528167 ); // SnowArc1 - 8167
    }
    SetWeather(9);
    SnowOn = 1;
   SendClientMessageToAll(COLOR_NEWS, "[SAN Meteo]: Breaking News: The weather is now changing to Frosty Snow, be carefull on the roads !");
   format(string, sizeof(string), "{6790BE}[AdmWarning]{FFFFFF}: %s a folosit comanda /snowon {FF0000}!",sendername);
ABroadCast(COLOR_YELLOW,string,1);
}
   }
   else
   {
       SendClientMessage(playerid, COLOR_GRAD1, "Tu nu ai voie sa folosesti aceasta comanda.");
 	return 1;
}
return 1;
  }
//=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-snowoff-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  if(strcmp(cmd, "/snowoff", true) == 0) //by JustRed
{
   if(PlayerInfo[playerid][pServerAdmin] >= 5) // Aici pui functia ta  >= (Mai mare sau egal decat admin 8)
{
   if(SnowOn == 1)
   {
   for(new i=0; i<MAX_PLAYERS; i++)
{
   	RemovePlayerAttachedObject(i, 3);
   }
   SetWeather(14);
   SnowOn = 0;
   SendClientMessageToAll(COLOR_NEWS, "Meteo Atention: The weather is changing, no other information about this !");
   format(string, sizeof(string), "{6790BE}[AdmWarning]{FFFFFF}: %s a folosit comanda /snowoff {FF0000}!",sendername);
ABroadCast(COLOR_YELLOW,string,1);
   }
      }
   else
   {
       SendClientMessage(playerid, COLOR_GRAD1, "Tu nu ai voie sa folosesti aceasta comanda.");
 	return 1;
}
return 1;
  }

Poftim

Posted

Nu e comanda uite ce e

    SetPlayerAttachedObject(playerid, 3, 19065, 2, 0.120000, 0.040000, -0.003500, 0, 100, 100, 1.4, 1.4, 1.4);

Posted

Sunt 2 obiecte nu unu... Trebuie adaugat si cel pentru caciula . De aia tie nu-ti apare.

Inlucuieste asa :

SetPlayerAttachedObject(playerid, 4, 19065, 2, 0.120000, 0.040000, -0.003500, 0, 100, 100, 1.4, 1.4, 1.4);

PS : slot 3 e ocupat de la zapada. trebuie altu,  baga asa cu 4

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.