help making a teleporting pickup
#7

Quote:
Originally Posted by MaykoX[PSYCHO
]
Код:
new tele;

tele = CreatePickup(356, 2, CORDS);

public OnPlayerPickUpPickup(playerid, pickupid)
{
  if (pickupid == tele) // ...
	{
		SetPlayerPos...
	}
}
return 1;
}

..
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
  if (pickupid == tele) // ...
    {
        SetPlayerPos(playerid,2290.9191894531 ,590.51232910156 ,125.54639434814);
    }
}
return 1;
}
Код:
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\Untitled.pwn(187) : warning 217: loose indentation
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\Untitled.pwn(188) : warning 217: loose indentation
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\Untitled.pwn(296) : error 010: invalid function or declaration
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\Untitled.pwn(300) : error 010: invalid function or declaration
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\Untitled.pwn(362) : error 029: invalid expression, assumed zero
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\Untitled.pwn(362) : error 029: invalid expression, assumed zero
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\Untitled.pwn(362) : warning 215: expression has no effect
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\Untitled.pwn(362) : error 001: expected token: ";", but found "if"
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\Untitled.pwn(362) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


6 Errors.
Reply


Messages In This Thread
help making a teleporting pickup - by johnathon956 - 07.04.2010, 11:11
Re: help making a teleporting pickup - by [LSR]State_Trooper - 07.04.2010, 11:15
Re: help making a teleporting pickup - by johnathon956 - 07.04.2010, 11:18
Re: help making a teleporting pickup - by [LSR]State_Trooper - 07.04.2010, 11:28
Re: help making a teleporting pickup - by McX_9 - 07.04.2010, 11:33
Re: help making a teleporting pickup - by [LSR]State_Trooper - 07.04.2010, 11:35
Re: help making a teleporting pickup - by johnathon956 - 07.04.2010, 11:36
Re: help making a teleporting pickup - by johnathon956 - 07.04.2010, 11:38
Re: help making a teleporting pickup - by Donny_k - 07.04.2010, 11:46
Re: help making a teleporting pickup - by johnathon956 - 07.04.2010, 11:48

Forum Jump:


Users browsing this thread: 1 Guest(s)