Problam With the Script
#1

Someone can tell me Why its happning

C:\Documents and Settings\Administrator\My Documents\Downloads\asd\gamemodes\VR.pwn(1420) : error 017: undefined symbol "infopickup"
C:\Documents and Settings\Administrator\My Documents\Downloads\asd\gamemodes\VR.pwn(30641) : error 017: undefined symbol "infopickup"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.

here Line 1420

infopickup = CreatePickup(1239,1,-14.1214,-318.0780,5.4229);

here line 30641

public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == infopickup)
{
GameTextForPlayer(playerid,"~r~ /enter ~y~ to enter this building",3000,1);
}
return 1;
}

Thanx 4 NOw
Reply
#2

Add this at the top of your gamemode

pawn Код:
new infopickup;
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)