Jump to content
  • 0

VWeaps


Deejaybwg

Question

Am creat pe serverul meu comanda cu arme pentru VIPS.(in FS in LuxAdmin)

Aici comanda:

dcmd_vweaps(playerid,params[])

{

GivePlayerWeapon(playerid,30,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);

return 1;

Cand am intrat pe server am incercat /vweaps si nu merge.. zice ca, comanda nu exista.

Mai trebuie sa fac ceva? Si ce anume ?

www.youtube.com/thebwgg

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

Incearca:

[pawn]

dcmd_vweaps(playerid,params[])

{

      GivePlayerWeapon(playerid,30,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);

      return 1;

}//cred ca ai uitat asta:P

[/pawn]

Fara reclama in semnatura!

Link to comment
Share on other sites

dcmd_vweaps(playerid,params[])

{

      GivePlayerWeapon(playerid,30,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);

      return 1;

}

cred ca ai uitat ca la OnPlayerCommandText(playerid,cmdtext[])

{

dcmd(vweaps,4,cmdtext);

}

deci ar veni cam asa

public OnPlayerCommandText(playerid,cmdtext[])
{
dcmd(vweaps,4,cmdtext);
return 1;//daca e fs 
return 0;//daca e gm
}
dcmd_vweaps(playerid,params[])
{
  GivePlayerWeapon(playerid,30,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);
//si un mesaj cu SendClientMessage(...) pentru a nu zice Unkown Command
SendClientMessage(playerid,color,"Ai cumparat arme!"); //trimite un mesaj ca playerul a cumparat arme cu suces
return 1;
}

New GameMode In Development!-Romania Team Gang War-100%!...Datimi doua Motive afrimative de ce sa-l postez si-l postez...

Link to comment
Share on other sites

public OnPlayerCommandText(playerid,cmdtext[])

{

dcmd(vweaps,4,cmdtext);

return 1;

}

dcmd_vweaps(playerid,params[])

{

  GivePlayerWeapon(playerid,30,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,color,"Arme pentru VIPS");

return 1;

}

Am pus asa si imi da erori:

D:\[RSG]\filterscripts\LuxAdmin.pwn(1386) : warning 203: symbol is never used: "params"

D:\[RSG]\filterscripts\LuxAdmin.pwn(1386 -- 1397) : error 010: invalid function or declaration

D:\[RSG]\filterscripts\LuxAdmin.pwn(1386 -- 1400) : error 010: invalid function or declaration

D:\[RSG]\filterscripts\LuxAdmin.pwn(1386 -- 1400) : error 021: symbol already defined: "FS_GivePlayerWeapon"

D:\[RSG]\filterscripts\LuxAdmin.pwn(1386 -- 1400) : fatal error 107: too many error messages on one line

Astea sunt liniile in care da erori:

dcmd_vweaps(playerid,params[])

{

      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);

      return 1;

}

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

{

      GivePlayerWeapon(playerid,31,99999); GivePlayerWeapon(playerid,39,99999);pon(playerid,46,99999);

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.