[Pomoc]RPWeaponHolder errori

Započeo Nikola I, Mart 08, 2011, 13:23:53 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: RPWepHolder da moze da se druzi oruzije na ledjima i oko nogu
Detaljan opis problema: FactionGame\filterscripts\RPWepHoldster.pwn(84) : error 017: undefined symbol "SetPlayerAttachedObject"
FactionGame\filterscripts\RPWepHoldster.pwn(86) : error 017: undefined symbol "SetPlayerAttachedObject"
FactionGame\filterscripts\RPWepHoldster.pwn(88) : error 017: undefined symbol "SetPlayerAttachedObject"
FactionGame\filterscripts\RPWepHoldster.pwn(95) : error 017: undefined symbol "SetPlayerAttachedObject"
FactionGame\filterscripts\RPWepHoldster.pwn(97) : error 017: undefined symbol "SetPlayerAttachedObject"
FactionGame\filterscripts\RPWepHoldster.pwn(99) : error 017: undefined symbol "SetPlayerAttachedObject"
FactionGame\filterscripts\RPWepHoldster.pwn(106) : error 017: undefined symbol "SetPlayerAttachedObject"
FactionGame\filterscripts\RPWepHoldster.pwn(108) : error 017: undefined symbol "SetPlayerAttachedObject"
FactionGame\filterscripts\RPWepHoldster.pwn(110) : error 017: undefined symbol "SetPlayerAttachedObject"
FactionGame\filterscripts\RPWepHoldster.pwn(112) : error 017: undefined symbol "SetPlayerAttachedObject"
FactionGame\filterscripts\RPWepHoldster.pwn(114) : error 017: undefined symbol "SetPlayerAttachedObject"
FactionGame\filterscripts\RPWepHoldster.pwn(116) : error 017: undefined symbol "SetPlayerAttachedObject"
FactionGame\filterscripts\RPWepHoldster.pwn(118) : error 017: undefined symbol "SetPlayerAttachedObject"
FactionGame\filterscripts\RPWepHoldster.pwn(120) : error 017: undefined symbol "SetPlayerAttachedObject"
FactionGame\filterscripts\RPWepHoldster.pwn(122) : error 017: undefined symbol "SetPlayerAttachedObject"
FactionGame\filterscripts\RPWepHoldster.pwn(124) : error 017: undefined symbol "SetPlayerAttachedObject"
FactionGame\filterscripts\RPWepHoldster.pwn(126) : error 017: undefined symbol "SetPlayerAttachedObject"
FactionGame\filterscripts\RPWepHoldster.pwn(128) : error 017: undefined symbol "SetPlayerAttachedObject"
FactionGame\filterscripts\RPWepHoldster.pwn(133) : error 017: undefined symbol "RemovePlayerAttachedObject"
FactionGame\filterscripts\RPWepHoldster.pwn(137) : error 017: undefined symbol "RemovePlayerAttachedObject"
FactionGame\filterscripts\RPWepHoldster.pwn(141) : error 017: undefined symbol "RemovePlayerAttachedObject"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


21 Errors.

Dio skripte: /
Neke slike/video za lakse dobivanje pomoci(neobavezno):/

pise da nisu define da li neko moze da mi define i da mi da da ubacim posto ja neznam da define





Pa 0.3c verziju i imam naravno,nego kazi koji include aj pomozi malo?





Moras prvo definirati te objekte ovako:

#define SetPlayerHoldingObject(%1,%2,%3,%4,%5,%6,%7,%8,%9) SetPlayerAttachedObject(%1,MAX_PLAYER_ATTACHED_OBJECTS-1,%2,%3,%4,%5,%6,%7,%8,%9)
#define StopPlayerHoldingObject(%1) RemovePlayerAttachedObject(%1,MAX_PLAYER_ATTACHED_OBJECTS-1)
#define IsPlayerHoldingObject(%1) IsPlayerAttachedObjectSlotUsed(%1,MAX_PLAYER_ATTACHED_OBJECTS-1)


Kada si ih definirao onda pokusaj compile, ako ne uspije onda ti vjerovatno treba include fajl koji vjerovatno ima u 0.3c server folderu na sa-mp.com
__________________________________________________________

Almir Tyler

__________________________________________________________

Citat: Almir poslato Mart 08, 2011, 19:48:54 POSLE PODNE
Moras prvo definirati te objekte ovako:

#define SetPlayerHoldingObject(%1,%2,%3,%4,%5,%6,%7,%8,%9) SetPlayerAttachedObject(%1,MAX_PLAYER_ATTACHED_OBJECTS-1,%2,%3,%4,%5,%6,%7,%8,%9)
#define StopPlayerHoldingObject(%1) RemovePlayerAttachedObject(%1,MAX_PLAYER_ATTACHED_OBJECTS-1)
#define IsPlayerHoldingObject(%1) IsPlayerAttachedObjectSlotUsed(%1,MAX_PLAYER_ATTACHED_OBJECTS-1)


Kada si ih definirao onda pokusaj compile, ako ne uspije onda ti vjerovatno treba include fajl koji vjerovatno ima u 0.3c server folderu na sa-mp.com


Koji si ti fail. To ako si iz 0.3b verzije koristio "SetPlayerHoldingObject", onda ovim definiras da radi i u 0.3c


Citat: Nikola I poslato Mart 08, 2011, 16:03:43 POSLE PODNE
Pa 0.3c verziju i imam naravno,nego kazi koji include aj pomozi malo?

Downloadaj cjeli sa-mp server 0.3c i kopiraj sve iz pawno/include u svoj pawno/include, zatim otvori obican pawno, onda ctrl + O i nadji GM. I kompilaj