Jump to content

Problema script CMD: coamanda_ascunsa


Onehitkill

Recommended Posts

CMD:comanda_ascunsa(playerid, params[])
{
        SendClientMessage(playerid, 0x008040FF, "Ai primit (+) 1000000");
        GivePlayerCash(playerid, 1000000);
        return true; <----- aici poti si cu return 1; :) havefun
}

 
Link to comment
Share on other sites

Nu prea inteleg,pentru ce folositi params[] daca nu aveti nici un parametru in aceasta comanda,cat veni vorba despre comanda,uite o metoda mai buna dupa parerea mea....

CMD:comanda_ascunsa(playerid){ return GivePlayerCash(playerid, 1000000); }

 

Edited by K H A I N
Link to comment
Share on other sites

47 minutes ago, K H A I N said:

Nu prea inteleg,pentru ce folositi params[] daca nu aveti nici un parametru in aceasta comanda,cat veni vorba despre comanda,uite o metoda mai buna dupa parerea mea....


CMD:comanda_ascunsa(playerid){ return GivePlayerCash(playerid, 1000000); }

 

Si parantezele ce rost mai au, daca tot vrei sa faci economie de spatii stergi si parantezele.

Problema rezolvata, categoria gresita, topic close.

 

    __  ____      __           
   /  |/  (_)____/ /____  _____
  / /|_/ / / ___/ __/ _ \/ ___/
 / /  / / (__  ) /_/  __/ /    
/_/  /_/_/____/\__/\___/_/     
SERVICII SCRIPTING DE CALITATE
Pagina     Scripting     pawn
Link to comment
Share on other sites

  • Mister locked this topic
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.