Problam With the Script - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Problam With the Script (
/showthread.php?tid=316811)
Problam With the Script -
davidman2 - 08.02.2012
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
Respuesta: Problam With the Script -
matute - 08.02.2012
Add this at the top of your gamemode