Jump to content

Question

12 answers to this question

Recommended Posts

  • Administrator
Posted

Comanda /setskin o gasesti prin toate scripturile de admin.

logo.png

ATENTIE!!! Nu imi trimiteti mesaje private care au legatura cu scriptingul. NU mai scriptez.

Posted

pai este /setskin [Player ID] [skin ID] <<<<---si asta este doar pentru admin -->>  dar vreu ca sa fie /skin [skin id] ca sa al poata folosi playeri

Posted

dute in pawno si dai /setskin si akolo este padmin ceva de genu sterge aia :D si va merge

RESPECT:Zh3r0 UNRESEPECT:STUNTMAN

Zh3r0 The Best Man

StuntMan:Scoate gunoiu de la cal =))

Posted

Daca te referi la godfather dute in gm cauta la comanda Playerinfo[pAdmin] >= 1 sau ceva de genu nu mai tin minte ca mam lasat de scripting dar trebuie sa stergi Playerinfo[pAdmin] si valoarea

Samp.OnlyPro.ro - RolePlay - Join Us !

Posted

Ati facut atata spam dar nu i-ati putut da comanda ... omg

if (strcmp(cmd, "/skin", true) == 0 )

{

new skin[256];

skin = strtok(cmdtext, idx);

if (!strlen(skin))

{

SendClientMessage(playerid, COLOR_RED, "Use: /skin [skinid]");

return 1;

}

new newskin = strval(skin);

if ((newskin < 0) || (newskin > 299) || IsInvalidSkin(newskin)) {

SendClientMessage(playerid, COLOR_RED, "Server: This skin does not exist!");

return 1;

}

if (GetPlayerMoney(playerid) >= 0)

{

SetPlayerSkin(playerid, newskin);

GivePlayerMoney(playerid,-0);

format(string, 128, "Server: Skin changed to the id %d, have fun", newskin);

SendClientMessage(playerid, COLOR_LIGHTBLUE, string);

}

else

{

SendClientMessage(playerid, COLOR_RED, "You can not change skin");

}

return 1;

}

Alta data cauta ca in viata nu prea o sa te ajute multi !

PS: IL pot folosi si playerii nu mai face atatea posturi esti disperaT?

16189165.gifrastamaunbydeejaylobo1.gifsmileysw0181.gif

xmsok6ay41.gif

Posted

sigur o sa primesti warn o sa ma asigur eu :)

if (strcmp(cmd, "/skin", true) == 0 )

  {

      new skin[256];

      skin = strtok(cmdtext, idx);

      if (!strlen(skin))

      {

        SendClientMessage(playerid, COLOR_RED, "Use: /skin [skinid]");

        return 1;

      }

      new newskin = strval(skin);

      if ((newskin < 0) || (newskin > 299) || IsInvalidSkin(newskin)) {

        SendClientMessage(playerid, COLOR_RED, "Server: This skin does not exist!");

        return 1;

      }

      if (GetPlayerMoney(playerid) >= 0)

      {

        SetPlayerSkin(playerid, newskin);

        GivePlayerMoney(playerid,-0);

        format(string, 128, "Server: Skin changed to the id %d, have fun", newskin);

        SendClientMessage(playerid, COLOR_LIGHTBLUE, string);

      }

      else

      {

        SendClientMessage(playerid, COLOR_RED, "You can not change skin");

      }

      return 1;

  }

U nu sti sa citesti mai sus lol esti praf frate dupa ce ca nu stii nimic scripting nici macar sa cauti mai esti si stupid pe deasupra ...

                                                                                      LOOSER

16189165.gifrastamaunbydeejaylobo1.gifsmileysw0181.gif

xmsok6ay41.gif

Posted

Poftim Desteptule nici asta nu e buna  http://img811.imageshack.us/img811/1592/82010665.png

Si sa sti ca si eu am cautat destul si tot erurori ami dadea

Posted

Poftim Desteptule nici asta nu e buna  http://img811.imageshack.us/img811/1592/82010665.png

Si sa sti ca si eu am cautat destul si tot erurori ami dadea

Dupa ce ca ti-a dat pe masa mai si comentezi!

http://wiki.sa-mp.com/

[ Locked! ]

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.