Jump to content
  • 0

Help Please ERRORS


CrystyaN

Question

Deci aveam gm-ul pe dextop , si l-am mutat in D, si acum nu imi da 6 erori, nush din ce cauza... acele functi le am definite...

Erors:

D:\SaMp\eGammer\gamemodes\eGamer.pwn(2712) : error 017: undefined symbol "IsPlayerAttachedObjectSlotUsed"
D:\SaMp\eGammer\gamemodes\eGamer.pwn(2712) : error 017: undefined symbol "RemovePlayerAttachedObject"
D:\SaMp\eGammer\gamemodes\eGamer.pwn(2713) : error 017: undefined symbol "SetPlayerAttachedObject"
D:\SaMp\eGammer\gamemodes\eGamer.pwn(2710) : warning 203: symbol is never used: "playerid"
D:\SaMp\eGammer\gamemodes\eGamer.pwn(2710 -- 2718) : error 017: undefined symbol "IsPlayerAttachedObjectSlotUsed"
D:\SaMp\eGammer\gamemodes\eGamer.pwn(2718) : error 017: undefined symbol "RemovePlayerAttachedObject"
D:\SaMp\eGammer\gamemodes\eGamer.pwn(2718) : fatal error 107: too many error messages on one line
#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)
PutRiotShieldOnBack(playerid) 
{
    if(IsPlayerAttachedObjectSlotUsed(playerid,1)) RemovePlayerAttachedObject(playerid,1);
	SetPlayerAttachedObject(playerid, 1 , 18637, 1, 0, -0.1, 0.18, 90, 0, 272, 1, 1, 1);
}

PutRiotShieldOnArm(playerid)
{
	    if(IsPlayerAttachedObjectSlotUsed(playerid,1)) RemovePlayerAttachedObject(playerid,1);
		SetPlayerAttachedObject(playerid, 1, 18637, 4, 0.3, 0, 0, 0, 170, 270, 1, 1, 1);
}

GiveFlashLight(playerid)
{
	    if(IsPlayerAttachedObjectSlotUsed(playerid,2)) RemovePlayerAttachedObject(playerid,2);
		SetPlayerAttachedObject(playerid, 2,18641, 5, 0.1, 0.02, -0.05, 0, 0, 0, 1, 1, 1);
}

GiveTazer(playerid)
{
	    if(IsPlayerAttachedObjectSlotUsed(playerid,2)) RemovePlayerAttachedObject(playerid,2);
		SetPlayerAttachedObject(playerid, 2,18642, 5, 0.12, 0.02, -0.05, 0, 0, 45,1,1,1);
}

 

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

crystian chestia aia cu ''failed to set data''asa face pe windows 7 pt ca am si eu si na...

daca vrei sa rezolvi acele chestii fa asta

1.intra intr'un gm unde ai cele mai multe include si fs'uri etc

2.deschide cu pawno din acel gm ,gm care il vrei u sa il compilezi si nu va mai da eroare

3.pe windows e setat sa deschid ca primul pawno care lai deschis prima oara pe windows :D

mca.png
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • 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.