small problem with random spawns command
#1

COMMAND:

if(!strcmp(cmdtext, "/minigun", true))
{
new Float:RandomSpawn[][4] =
{
// Positions, (X, Y, Z and Facing Angle)
{-2796.9854, 1224.8180, 20.5429, 192.0335},
{-2454.2170, 503.8759, 30.0790, 267.2932},
{-2669.7322, -6.0874, 6.1328, 89.8853}
};
GameTextForPlayer(playerid,"~r~~h~Bun venit la Minigun",3000,5);
GivePlayerWeapon(playerid, 38, 100000);
SetPlayerWorldBounds(playerid, 20000.0000,-20000.0000,20000.0000,-20000.0000); // Bounderies Off//
return 1;
}


ERROR:

C:\Users\ozn\Desktop\editme.pwn(3133) : warning 204: symbol is assigned a value that is never used: "RandomSpawn"



statement: new Float:RandomSpawn[][4] is used to onplayerconnect!

HELP.. THX
Reply


Messages In This Thread
small problem with random spawns command - by Cpt.Shady - 02.10.2011, 12:55
Re: small problem with random spawns command - by Pharrel - 02.10.2011, 12:56
Re: small problem with random spawns command - by Cpt.Shady - 02.10.2011, 12:57
Re: small problem with random spawns command - by Kingunit - 02.10.2011, 12:57
Re: small problem with random spawns command - by Pharrel - 02.10.2011, 13:00
Re: small problem with random spawns command - by Cpt.Shady - 02.10.2011, 13:22

Forum Jump:


Users browsing this thread: 1 Guest(s)