Jump to content

Question

Posted (edited)

Problema intalnita (descriere): Erroare compilare
Ero(area / rile) / warning-(ul / urile):  

C:\Users\Florin\Desktop\lucrez\NQGaming Server\gamemodes\nQGaminG.pwn(14974) : error 029: invalid expression, assumed zero
C:\Users\Florin\Desktop\lucrez\NQGaming Server\gamemodes\nQGaminG.pwn(14974) : error 017: undefined symbol "playerid"
C:\Users\Florin\Desktop\lucrez\NQGaming Server\gamemodes\nQGaminG.pwn(14976) : error 017: undefined symbol "pickupid"
C:\Users\Florin\Desktop\lucrez\NQGaming Server\gamemodes\nQGaminG.pwn(14979) : error 017: undefined symbol "playerid"
C:\Users\Florin\Desktop\lucrez\NQGaming Server\gamemodes\nQGaminG.pwn(14986) : warning 225: unreachable code
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.


Liniile de cod / sursa / script-ul(obligatoriu):  

Citat

public OnPlayerPickUpPickup(playerid, pickupid)
{
      if(pickupid == pickupsistem)
	  {

	   SendClientMessage(playerid, COLOR_WHITE, "Fondatorul acestui server este {ff0000}W1zZaN {ffffff}Bine ai venit{ff0000}");
	   ApplyActorAnimation(actorsistem, "PED","IDLE_CHAT",4.0,1,0,0,0,0);
      }
	 return 1;
}

 


Imagini / Video (optional):
Ati incercat sa rezolvati singur?: playerid si pickup id sunt definite

Edited by w1zzan

2 answers to this question

Recommended Posts

  • 0
Posted

Am adaugat new playerid si new pickupid deasupra la acel sistem si mi-a iesit ceva de genu
 

new playerid;
new pickupid;

    actorsistem = CreateActor (217, 2023.2767,-1420.1696,16.9922,331.7997);
	pickupsistem = CreatePickup (1239, 2, 2023.2767,-1420.1696,16.9922, -1);

public OnPlayerPickUpPickup(playerid, pickupid);
{
      if(pickupid == pickupsistem)
	  {

	   SendClientMessage(playerid, -1, "Fondatorul acestui server este {ff0000}W1zZaN {ffffff}Bine ai venit{ff0000}");
	   ApplyActorAnimation(actorsistem, "PED","IDLE_CHAT",4.0,1,0,0,0,0);
      }
	 return 1;
}

cu errorile urmatoare 

C:\Users\Florin\Desktop\lucrez\NQGaming Server\gamemodes\nQGaminG.pwn(14741) : error 029: invalid expression, assumed zero
C:\Users\Florin\Desktop\lucrez\NQGaming Server\gamemodes\nQGaminG.pwn(14755) : warning 225: unreachable code
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


1 Error.

 

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.