- 0
LuxAdmin
-
Recently Browsing 0 members
- No registered users viewing this page.
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.
Question
Deejaybwg
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
3 answers to this question
Recommended Posts