I just can't work this out
#1

I've done this before and it worked, but I can't remember how to do it

Код:
public OnGameModeInit()
{
  new truckspawner = AddStaticPickup(2589, 23, 1335.4030,2674.2144,11.2392,0);
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
  if(pickupid == truckerspawner)
    {
      SendClientMessage(playerid, COLOR_GREEN, "You are at the truck spawner!");
    }
 return 0;
}
Quote:

C:\samp\server 7711\gamemodes\truckfr.pwn(469) : error 017: undefined symbol "truckspawner"
C:\samp\server 7711\gamemodes\truckfr.pwn(746) : warning 204: symbol is assigned a value that is never used: "truckspawner"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

can anyone help?

thanks
Reply


Messages In This Thread
I just can't work this out - by Packer5 - 05.11.2009, 16:47
Re: I just can't work this out - by M1K1 - 05.11.2009, 16:48
Re: I just can't work this out - by Packer5 - 05.11.2009, 16:49
Re: I just can't work this out - by Packer5 - 05.11.2009, 16:54
Re: I just can't work this out - by dice7 - 05.11.2009, 16:56
Re: I just can't work this out - by Packer5 - 05.11.2009, 17:01
Re: I just can't work this out - by dice7 - 05.11.2009, 17:06
Re: I just can't work this out - by Packer5 - 05.11.2009, 17:08
Re: I just can't work this out - by Packer5 - 05.11.2009, 17:17
Re: I just can't work this out - by dice7 - 05.11.2009, 17:43

Forum Jump:


Users browsing this thread: 1 Guest(s)