Deejaybwg Posted May 26, 2011 Report Share Posted May 26, 2011 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 More sharing options...
xxSPEEDYxx Posted May 26, 2011 Report Share Posted May 26, 2011 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 More sharing options...
[RSD]TheBoss Posted May 26, 2011 Report Share Posted May 26, 2011 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 More sharing options...
Deejaybwg Posted May 26, 2011 Author Report Share Posted May 26, 2011 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 declarationD:\[RSG]\filterscripts\LuxAdmin.pwn(1386 -- 1400) : error 010: invalid function or declarationD:\[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 lineAstea 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 More sharing options...
xxSPEEDYxx Posted May 26, 2011 Report Share Posted May 26, 2011 pai comanda: dcmd_vweaps(playerid,params[]){//etc...o pui unde is si celalate doar asta: dcmd(vweaps,4,cmdtext); o pui la public OnPlayerCommandText(playerid,cmdtext[]){ Fara reclama in semnatura! Link to comment Share on other sites More sharing options...
Deejaybwg Posted May 26, 2011 Author Report Share Posted May 26, 2011 Am rezolvat erorile totul e ok, dar nu merge comanda.. Cand intru pe server zice ca nu exista comanda.. :undecided: www.youtube.com/thebwgg Link to comment Share on other sites More sharing options...
songoku11 Posted May 26, 2011 Report Share Posted May 26, 2011 dcmd(vweaps,6,cmdtext); Link to comment Share on other sites More sharing options...
Question
Deejaybwg
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