02.10.2011, 12:55
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
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