Jump to content

Question

Posted

deci am urmatorul cod:

new lwammu;
la on filterscriptinit
public OnFilterScriptInit()
{
	lwammu= CreatePickup(1318, 2, 1962.0531,2323.9897,16.4688, -1);
	return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == lwammu) 
    {
              SendClientMessag(COLOR_BLUE, "blablabla");
    }
    return 1;
}
si dupa ce dau compile primesc eroarea asta:
C:\Documents and Settings\Ciprian\Desktop\LW'sScript.pwn(48) : error 017: undefined symbol "lwammu"
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
linia 48 este:
 if(pickupid == lwammu) 

cum pot rezlova eroarea ?

communitylogosml.png

94.23.120.101:7778

4 answers to this question

Recommended Posts

Posted

punel sus de tot in script langa celelalte new-uri ...

Am rezolvat , mersi mult :)

communitylogosml.png

94.23.120.101:7778

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.