Jump to content
  • 0

LuxAdmin


Deejaybwg

Question

Am schimbat cateva comenzi in LuxAdmin.pwn (Ex:dcmd_gotoplace am facut dcmd_gp..etc) Printre care si comanda /vweaps (weapons for vips) Asta e comanda:

dcmd_vweaps(playerid,params[])

{

  #pragma unused params

  if(AccInfo[playerid][pVip] > 0)

      GivePlayerWeapon(playerid,31,99999); GivePlayerWeapon(playerid,16,99999);

      GivePlayerWeapon(playerid,34,99999); GivePlayerWeapon(playerid,28,99999);

      GivePlayerWeapon(playerid,18,99999); GivePlayerWeapon(playerid,24,99999);

      GivePlayerWeapon(playerid,27,99999); GivePlayerWeapon(playerid,39,99999);

      GivePlayerWeapon(playerid,6,1); GivePlayerWeapon(playerid,42,99999);

      GivePlayerWeapon(playerid,17,99999); GivePlayerWeapon(playerid,46,99999);

      SendClientMessage(playerid,RED,"Weapons for VIPS");

      return 1;

}

Cand am dat compile:

D:\[RSG]\Filterscripts\LuxAdmin.pwn(3042) : warning 217: loose indentation

D:\[RSG]\Filterscripts\LuxAdmin.pwn(7263) : warning 209: function "dcmd_gp" should return a value

Asta e linia 3042:

      GivePlayerWeapon(playerid,31,99999); GivePlayerWeapon(playerid,16,99999);

Si linia 7263:

}

Cum scap de warn-urile astea ? :undecided:

www.youtube.com/thebwgg

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Am schimbat cateva comenzi in LuxAdmin.pwn (Ex:dcmd_gotoplace am facut dcmd_gp..etc) Printre care si comanda /vweaps (weapons for vips) Asta e comanda:

dcmd_vweaps(playerid,params[])

{

  #pragma unused params

  if(AccInfo[playerid][pVip] > 0)

      GivePlayerWeapon(playerid,31,99999); GivePlayerWeapon(playerid,16,99999);

      GivePlayerWeapon(playerid,34,99999); GivePlayerWeapon(playerid,28,99999);

      GivePlayerWeapon(playerid,18,99999); GivePlayerWeapon(playerid,24,99999);

      GivePlayerWeapon(playerid,27,99999); GivePlayerWeapon(playerid,39,99999);

      GivePlayerWeapon(playerid,6,1); GivePlayerWeapon(playerid,42,99999);

      GivePlayerWeapon(playerid,17,99999); GivePlayerWeapon(playerid,46,99999);

      SendClientMessage(playerid,RED,"Weapons for VIPS");

      return 1;

}

Cand am dat compile:

D:\[RSG]\Filterscripts\LuxAdmin.pwn(3042) : warning 217: loose indentation

D:\[RSG]\Filterscripts\LuxAdmin.pwn(7263) : warning 209: function "dcmd_gp" should return a value

Asta e linia 3042:

      GivePlayerWeapon(playerid,31,99999); GivePlayerWeapon(playerid,16,99999);

Si linia 7263:

}

Cum scap de warn-urile astea ? :undecided:

dane comanda aia gp!!!

Fara reclama in semnatura!

Link to comment
Share on other sites

Am pus comanda /vweaps asa:

dcmd_vweaps(playerid,params[])

{

#pragma unused params

    if(AccInfo[playerid][pVip] > 0)

{

        GivePlayerWeapon(playerid,31,99999); GivePlayerWeapon(playerid,16,99999);

        GivePlayerWeapon(playerid,34,99999); GivePlayerWeapon(playerid,28,99999);

        GivePlayerWeapon(playerid,18,99999); GivePlayerWeapon(playerid,24,99999);

        GivePlayerWeapon(playerid,27,99999); GivePlayerWeapon(playerid,39,99999);

        GivePlayerWeapon(playerid,6,1); GivePlayerWeapon(playerid,42,99999);

        GivePlayerWeapon(playerid,17,99999); GivePlayerWeapon(playerid,46,99999);

        SendClientMessage(playerid,red,"Weapons for Vips");

        return 1;

  }

Si imi da erorile:

C:\Users\Bwggu\Desktop\[RSG]\Filterscripts\LuxAdmin.pwn(527) : error 017: undefined symbol "UpdateConfig"

C:\Users\Bwggu\Desktop\[RSG]\Filterscripts\LuxAdmin.pwn(528) : error 017: undefined symbol "ReadTextDraws"

C:\Users\Bwggu\Desktop\[RSG]\Filterscripts\LuxAdmin.pwn(547) : error 017: undefined symbol "ShowConfigInConsole"

C:\Users\Bwggu\Desktop\[RSG]\Filterscripts\LuxAdmin.pwn(572) : error 004: function "SaveTeleport" is not implemented

C:\Users\Bwggu\Desktop\[RSG]\Filterscripts\LuxAdmin.pwn(682) : error 004: function "SaveIn" is not implemented

C:\Users\Bwggu\Desktop\[RSG]\Filterscripts\LuxAdmin.pwn(702) : error 004: function "SaveIn" is not implemented

C:\Users\Bwggu\Desktop\[RSG]\Filterscripts\LuxAdmin.pwn(748) : error 017: undefined symbol "LoginPlayer"

C:\Users\Bwggu\Desktop\[RSG]\Filterscripts\LuxAdmin.pwn(778) : error 017: undefined symbol "TotalGameTime"

C:\Users\Bwggu\Desktop\[RSG]\Filterscripts\LuxAdmin.pwn(806) : error 017: undefined symbol "TotalGameTime"

C:\Users\Bwggu\Desktop\[RSG]\Filterscripts\LuxAdmin.pwn(828) : error 004: function "SaveIn" is not implemented

C:\Users\Bwggu\Desktop\[RSG]\Filterscripts\LuxAdmin.pwn(846) : error 017: undefined symbol "SavePlayerStats"

C:\Users\Bwggu\Desktop\[RSG]\Filterscripts\LuxAdmin.pwn(874) : error 004: function "EraseVeh" is not implemented

C:\Users\Bwggu\Desktop\[RSG]\Filterscripts\LuxAdmin.pwn(881) : error 017: undefined symbol "AdvanceSpectate"

C:\Users\Bwggu\Desktop\[RSG]\Filterscripts\LuxAdmin.pwn(1105) : error 017: undefined symbol "AdvanceSpectate"

C:\Users\Bwggu\Desktop\[RSG]\Filterscripts\LuxAdmin.pwn(1122) : error 004: function "MessageToPlayerVIP" is not implemented

C:\Users\Bwggu\Desktop\[RSG]\Filterscripts\LuxAdmin.pwn(1123) : error 004: function "SaveIn" is not implemented

C:\Users\Bwggu\Desktop\[RSG]\Filterscripts\LuxAdmin.pwn(1133) : error 004: function "MessageToAdmins" is not implemented

C:\Users\Bwggu\Desktop\[RSG]\Filterscripts\LuxAdmin.pwn(1135) : error 004: function "SaveIn" is not implemented

C:\Users\Bwggu\Desktop\[RSG]\Filterscripts\LuxAdmin.pwn(1163) : error 004: function "SaveIn" is not implemented

C:\Users\Bwggu\Desktop\[RSG]\Filterscripts\LuxAdmin.pwn(1181) : error 004: function "SaveIn" is not implemented

C:\Users\Bwggu\Desktop\[RSG]\Filterscripts\LuxAdmin.pwn(1222) : error 017: undefined symbol "AdvertisementCheck"

C:\Users\Bwggu\Desktop\[RSG]\Filterscripts\LuxAdmin.pwn(1235) : error 004: function "SaveIn" is not implemented

C:\Users\Bwggu\Desktop\[RSG]\Filterscripts\LuxAdmin.pwn(1282) : error 004: function "SaveIn" is not implemented

C:\Users\Bwggu\Desktop\[RSG]\Filterscripts\LuxAdmin.pwn(1303) : error 004: function "SaveIn" is not implemented

C:\Users\Bwggu\Desktop\[RSG]\Filterscripts\LuxAdmin.pwn(1578) : error 017: undefined symbol "TotalGameTime"

C:\Users\Bwggu\Desktop\[RSG]\Filterscripts\LuxAdmin.pwn(1897) : error 017: undefined symbol "ReturnUser"

Am mai creat acum 1 saptamana sau 2 comanda /vweaps si a mers :angry: Acum ce are ? :undecided:

REZOLVAT. Am gresit ceva la comanda. SCUZE !!!

www.youtube.com/thebwgg

Link to comment
Share on other sites

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.