Jump to content
  • 0

Help Please ERRORS


Question

Posted

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);
}

 

6 answers to this question

Recommended Posts

  • Administrator
Posted

Copilieaza-l cu pawno din 0.3c

logo.png

ATENTIE!!! Nu imi trimiteti mesaje private care au legatura cu scriptingul. NU mai scriptez.

Posted

Tot nu merge:(

Cand vreau sa intru in pawn imi zice "

Pawno

Failed to set data for " ...

Am windows 7...

Inainte imi aparea sa deschid pawno cu "Run as administrator.." dar acum imi apare acea erore:(

 

Posted

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