Jump to content

Question

Posted

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!

8 answers to this question

Recommended Posts

  • 0
Posted (edited)

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

  • 0
Posted

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" ..

  • 0
Posted

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.

  • 0
Posted (edited)
Descarca-ti acele biblioteci si adauga-le in pawno.---> includes. Edited by NoNamed
  • 0
Posted

E virtual rpg postat pe gta-mp prima data cu toate includeurile bune apoi fiind repostat pe sa-mp.ro fara acele includeuri ... orice ai face iti garantez ca nu gasesti inc bune pt el

  • 0
Posted

Problema e ca pe gta-mp nu am cont si nu merge sa fac unul, a doua problema,cei se la gta-mp au forumul picat.

Un link de download pt acele inc?:)

Multumesc!

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.