Jump to content
  • 0

Compile Error


MrAndrei

Question

Problema intalnita (descriere):Am o eroare la un #include , am incercat sa o rezolv insa fara succes.Tin sa mentionez ca Gamemode-ul este pe mysql.
Ero(area / rile) / warning-(ul / urile):

C:UsersAAADesktopGamemodevirtualgamemodesvx-rp.pwn(1041) : fatal error 100: cannot read from file: "OnPlayerUseVending"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


1 Error.

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

Linia 1041:

#include                <OnPlayerUseVending>

Imagini / Video (optional):-
Ati incercat sa rezolvati singur?:Da, dar nu am reusit!

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0

Incearca asta. Dai Copy in PWNO dupa save cu numele OnPlayerUseVending.inc in pwno / includes

 

#include



forward OnPlayerUseVending(playerid);
forward VendCheck(playerid);

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys){
if(IsKeyJustDown(KEY_SECONDARY_ATTACK, newkeys, oldkeys)) {
if(GetPlayerAnimationIndex(playerid)!=1660) SetTimerEx("VendCheck", 500, false, "d", playerid);
}
return CallLocalFunction("vend_OnPlayerKeyStateChange", "iii", playerid, newkeys, oldkeys);
}

#if defined _ALS_OnPlayerKeyStateChange
#undef OnPlayerKeyStateChange
#else
#define _ALS_OnPlayerKeyStateChange
#endif
#define OnPlayerKeyStateChange vend_OnPlayerKeyStateChange
forward vend_OnPlayerKeyStateChange(playerid, newkeys, oldkeys);

public VendCheck(playerid){
if(GetPlayerAnimationIndex(playerid)==1660) CallLocalFunction("OnPlayerUseVending", "i", playerid);
}

Edited by EquiNox

j3V8Znq.png

5IGyOAw.png

Link to comment
Share on other sites

  • 0

Incearca asta. Dai Copy in PWNO dupa save cu numele OnPlayerUseVending.inc in pwno / includes

 

#include

forward OnPlayerUseVending(playerid);

forward VendCheck(playerid);

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys){

if(IsKeyJustDown(KEY_SECONDARY_ATTACK, newkeys, oldkeys)) {

if(GetPlayerAnimationIndex(playerid)!=1660) SetTimerEx("VendCheck", 500, false, "d", playerid);

}

return CallLocalFunction("vend_OnPlayerKeyStateChange", "iii", playerid, newkeys, oldkeys);

}

#if defined _ALS_OnPlayerKeyStateChange

#undef OnPlayerKeyStateChange

#else

#define _ALS_OnPlayerKeyStateChange

#endif

#define OnPlayerKeyStateChange vend_OnPlayerKeyStateChange

forward vend_OnPlayerKeyStateChange(playerid, newkeys, oldkeys);

public VendCheck(playerid){

if(GetPlayerAnimationIndex(playerid)==1660) CallLocalFunction("OnPlayerUseVending", "i", playerid);

}

 

Imi da eroare la "#include" ..

Link to comment
Share on other sites

  • 0

Asta am rezolvat-o , acum imi da eroare la :

 

#include  <death>
#include  <progress>
#include  <fly>
#include  <OnPlayerPause>
#include  <crashdetect>
#include  <ctpc>
#include  <ShowInfoForPlayer>
#include  <mSelection>
#include     <GetVehicleColor>
#include     <ezBrief>
#include     <OnPlayerFakeKill>
#include     <mgbull>

E la fel ca la primul.

Link to comment
Share on other sites

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.