Pickup case help ..
#1

Hey Guys when i compiled my script i got this error

Код:
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.
here is the pawn script i used

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;
Can anyone help me ??
Reply


Messages In This Thread
Pickup case help .. - by Pokiri_Boii - 30.07.2012, 13:03
Re: Pickup case help .. - by Devilxz97 - 30.07.2012, 13:06
Re: Pickup case help .. - by ReneG - 30.07.2012, 13:07
Re: Pickup case help .. - by Pokiri_Boii - 30.07.2012, 13:14
Re: Pickup case help .. - by Vince - 30.07.2012, 13:20
Re: Pickup case help .. - by Pokiri_Boii - 30.07.2012, 13:21
Re: Pickup case help .. - by SomebodyAndMe - 30.07.2012, 13:23
Re: Pickup case help .. - by ReneG - 30.07.2012, 13:24
Re: Pickup case help .. - by SomebodyAndMe - 30.07.2012, 13:27
Re: Pickup case help .. - by ReneG - 30.07.2012, 13:33

Forum Jump:


Users browsing this thread: 1 Guest(s)