30.07.2012, 13:03
Hey Guys when i compiled my script i got this error
here is the pawn script i used
i defined it at the top of my script
Can anyone help me ??
Код:
D:\SATDM v11 SA-MP 0.3e\filterscripts\LuxuriousHouse.pwn(462) : error 008: must be a constant expression; assumed zero D:\SATDM v11 SA-MP 0.3e\filterscripts\LuxuriousHouse.pwn(462) : error 036: empty statement D:\SATDM v11 SA-MP 0.3e\filterscripts\LuxuriousHouse.pwn(467) : error 010: invalid function or declaration D:\SATDM v11 SA-MP 0.3e\filterscripts\LuxuriousHouse.pwn(452) : warning 204: symbol is assigned a value that is never used: "heliout" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 3 Errors.
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
switch (pickupid)
{
case heli;
{
SetPlayerPos(playerid,-2383.6670,-1602.5835,507.5224);
GameTextForPlayer(playerid, "~b~Teleported to ~g~Heli Stand", 3000, 5);
}
case heliout;
{
SetPlayerPos(playerid,-2325.2319,-1613.5901,483.7204);
GameTextForPlayer(playerid, "~b~Back ~r~Home", 3000, 5);
}
i defined it at the top of my script
pawn Код:
new heli;
new heliout;