05.03.2015, 12:42
(
Last edited by Sc0pion; 14/03/2015 at 08:15 PM.
)
Fixed!
for(new w; w<13; w++) { GetPlayerWeaponData(playerid, w, _w, _a); CreateAutoPickup( ( pX + random( 5 ) ), pY, pZ, _w, _a, 3, GetPlayerInterior(playerid), GetPlayerVirtualWorld(playerid)); } |
if(GetPlayerWantedLevel(playerid) > 1)
{
switch( random(5) )
{
case 0: CreateAutoPickup(
( pX + random( 5 ) ),
pY,
pZ,
PICKUP_MODEL_HEALTH,
100,
3,
GetPlayerInterior(playerid),
GetPlayerVirtualWorld(playerid),
10000);
case 1: CreateAutoPickup(
( pX + random( 5 ) ),
pY,
pZ,
PICKUP_MODEL_ARMOR,
100,
3,
GetPlayerInterior(playerid),
GetPlayerVirtualWorld(playerid),
10000);
case 2: CreateAutoPickup(
( pX + random( 5 ) ),
pY,
pZ,
PICKUP_MODEL_CASH,
103 + random( 1000 ),
3,
GetPlayerInterior(playerid),
GetPlayerVirtualWorld(playerid),
10000);
case 3: CreateAutoPickup(
( pX + random( 5 ) ),
pY,
pZ,
PICKUP_MODEL_PARACHUTE,
1,
3,
GetPlayerInterior(playerid),
GetPlayerVirtualWorld(playerid),
10000);
case 4: CreateAutoPickup(
( pX + random( 5 ) ),
pY,
pZ,
PICKUP_MODEL_JETPACK,
1,
3,
GetPlayerInterior(playerid),
GetPlayerVirtualWorld(playerid),
10000);
}
}
When I remove only that this is what I receive
Code:
D:\Servers\San Andreas - Gang War\gamemodes\SA-GW.pwn(3737) : warning 203: symbol is never used: "_a" D:\Servers\San Andreas - Gang War\gamemodes\SA-GW.pwn(3737) : warning 203: symbol is never used: "_w" |
new _w, _a, Float:pX, Float:pY, Float:pZ;
new Float:pX, Float:pY, Float:pZ;