OnPlayerPickupPickup
#1

Hi!


I'm trying to do a teleport..


With a pickup but I can't rember how I did last year... I've lookt on Wiki but not same thing I need..
And I have the other code (Alredy fixed).

pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == prisonInt)
    SetPlayerPos(playerid,-5158.9482,2868.0576,32.1957);
    return 1;
}

pawn Код:
prisonInt = CreatePickup(1318,-2625.0925,1411.6375,7.0938);

And what it complains about :/... :

Код:
C:\Users\Davve\Desktop\Fire n flames RPG TDM\Server\Fire.pwn(817) : error 029: invalid expression, assumed zero
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
LOL had 5 errors but now 1...
I'm a little beginner still ^^...
Reply


Messages In This Thread
OnPlayerPickupPickup - by davve95 - 30.04.2012, 15:45
Re: OnPlayerPickupPickup - by WackoX - 30.04.2012, 15:52
Re: OnPlayerPickupPickup - by davve95 - 30.04.2012, 15:54
Re: OnPlayerPickupPickup - by davve95 - 30.04.2012, 16:11
Re: OnPlayerPickupPickup - by MP2 - 30.04.2012, 17:38
Re: OnPlayerPickupPickup - by nickdodd25 - 30.04.2012, 17:57
Re: OnPlayerPickupPickup - by davve95 - 30.04.2012, 18:09
Re: OnPlayerPickupPickup - by MP2 - 30.04.2012, 18:13
Re: OnPlayerPickupPickup - by davve95 - 30.04.2012, 19:59
Re: OnPlayerPickupPickup - by MP2 - 30.04.2012, 22:16

Forum Jump:


Users browsing this thread: 1 Guest(s)