Jump to content

Question

Posted

Problema intalnita (descriere):Problema wanted
Ero(area / rile) / warning-(ul / urile):jos
Liniile de cod / sursa / script-ul(obligatoriu):gm
Imagini / Video (optional):...
Ati incercat sa rezolvati singur?: nu

 

C:\Users\Michael.Brucia\Desktop\mnx-xplay-kniferz\gamemodes\mnx-xplay-kniferz.pwn(4158) : warning 235: public function lacks forward declaration (symbol "IsAExamen")
C:\Users\Michael.Brucia\Desktop\mnx-xplay-kniferz\gamemodes\mnx-xplay-kniferz.pwn(6236) : error 017: undefined symbol "WantedName"
C:\Users\Michael.Brucia\Desktop\mnx-xplay-kniferz\gamemodes\mnx-xplay-kniferz.pwn(6236) : warning 215: expression has no effect
C:\Users\Michael.Brucia\Desktop\mnx-xplay-kniferz\gamemodes\mnx-xplay-kniferz.pwn(6236) : error 001: expected token: ";", but found "]"
C:\Users\Michael.Brucia\Desktop\mnx-xplay-kniferz\gamemodes\mnx-xplay-kniferz.pwn(6236) : error 029: invalid expression, assumed zero
C:\Users\Michael.Brucia\Desktop\mnx-xplay-kniferz\gamemodes\mnx-xplay-kniferz.pwn(6236) : fatal error 107: too many error messages on one line

17 answers to this question

Recommended Posts

  • 0
Posted

Pune la inceputul gm-ului dupa include-uri New WantedName[MAXPLAYERS]; si forward pentru IsAExamen.

rpg.reality-gaming.ro

  • 0
Posted

Frate, du-te si joaca-te mario.Du-te pe wiki si invata scripting!

// Pui asta unde mai ai new ..

new WantedName[MAX_PLAYERS];

  • 0
Posted (edited)

Imi puteti da si mie  structura pentru findbizz si house , sa mearga pe baza de date saints

Edited by Mihail.
  • 0
Posted
Spoiler

CMD:randomid(playerid, params[])
{
   new string[128];
   
   {

       new online = 0 + random(jucatorionline);
       format(string, sizeof(string) , "{00FF00}GIVEAWAY{FFFFFF}:ID[%d] a castigat un premium random ,Bafta!", online);
       SendClientMessageToAll(-1, string);

   }
   return 1;

}

CMD:fly(playerid, params[])
{

     StartFly(playerid);
     SetPlayerHealth(playerid, 99999);
     SetPlayerArmour(playerid, 99999);
     return 1;
}
CMD:stopfly(playerid, params[])
{

    StopFly(playerid);
    SetPlayerHealth(playerid, 100);
    SetPlayerArmour(playerid, 0);
    return 1;
}

Cum pot fae aceste comenzi sa fie  folosite doar de admin?

  • 0
Posted
5 minutes ago, Mihail. said:
  Reveal hidden contents

CMD:randomid(playerid, params[])
{
   new string[128];
   
   {

       new online = 0 + random(jucatorionline);
       format(string, sizeof(string) , "{00FF00}GIVEAWAY{FFFFFF}:ID[%d] a castigat un premium random ,Bafta!", online);
       SendClientMessageToAll(-1, string);

   }
   return 1;

}

CMD:fly(playerid, params[])
{

     StartFly(playerid);
     SetPlayerHealth(playerid, 99999);
     SetPlayerArmour(playerid, 99999);
     return 1;
}
CMD:stopfly(playerid, params[])
{

    StopFly(playerid);
    SetPlayerHealth(playerid, 100);
    SetPlayerArmour(playerid, 0);
    return 1;
}

Cum pot fae aceste comenzi sa fie  folosite doar de admin?

Asta este alta intrebare, si nu este o problema, pentru ca nu ai incercat nimic, 

foloseste o restrcite pune-o in comaanda if(PlayerInfo[playerid][pAdminLevel]== 0) return SendClientMessage(playerid,-1,"Nu esti admin!");

 

    __  ____      __           
   /  |/  (_)____/ /____  _____
  / /|_/ / / ___/ __/ _ \/ ___/
 / /  / / (__  ) /_/  __/ /    
/_/  /_/_/____/\__/\___/_/     
SERVICII SCRIPTING DE CALITATE
Pagina     Scripting     pawn
  • 0
Posted
1 oră în urmă, Mihail. a spus:
  Ascunde conținuturi

CMD:randomid(playerid, params[])
{
   new string[128];
   
   {

       new online = 0 + random(jucatorionline);
       format(string, sizeof(string) , "{00FF00}GIVEAWAY{FFFFFF}:ID[%d] a castigat un premium random ,Bafta!", online);
       SendClientMessageToAll(-1, string);

   }
   return 1;

}

CMD:fly(playerid, params[])
{

     StartFly(playerid);
     SetPlayerHealth(playerid, 99999);
     SetPlayerArmour(playerid, 99999);
     return 1;
}
CMD:stopfly(playerid, params[])
{

    StopFly(playerid);
    SetPlayerHealth(playerid, 100);
    SetPlayerArmour(playerid, 0);
    return 1;
}

Cum pot fae aceste comenzi sa fie  folosite doar de admin?

Implementezi functia

if(PlayerInfo[playerid][pAdmin]

la fiecare comanda

  • 0
Posted
Chiar acum, ★♕ Manu ★♕ a spus:

Implementezi functia


if(PlayerInfo[playerid][pAdmin]

la fiecare comanda

Am rezolvat

Am adaugat nume de sub mapa  , fac totu bine si nu imi apare numele jos la mini map ,ce pot face?

  • 0
Posted (edited)

Vrei sa ghicim scriptul? Da-ne linii,script etc.

Edited by ★♕ Manu ★♕
  • 0
Posted

La OnPlayerSpawn pune TextDrawShowForPlayer(playerid, Nume[playerid]);

 

 

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.