Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×

Question

Posted

Am o problema , dintro data imi da erorile astea:

D:\bell\gamemodes\snow.pwn(2945) : error 017: undefined symbol "IsPlayerAttachedObjectSlotUsed"
D:\bell\gamemodes\snow.pwn(2945) : error 017: undefined symbol "RemovePlayerAttachedObject"
D:\bell\gamemodes\snow.pwn(2945) : error 029: invalid expression, assumed zero
D:\bell\gamemodes\snow.pwn(2945) : fatal error 107: too many error messages on one line
Am mai modificat eu cate ceva si am ajuns la atatea erori... Linia este:
	    if(IsPlayerAttachedObjectSlotUsed(playerid,1 RemovePlayerAttachedObject(playerid,1));
		SetPlayerAttachedObject(playerid, 1 , 18637, 1, 0, -0.1, 0.18, 90, 0, 272, 1, 1, 1);

5 answers to this question

Recommended Posts

Posted

pune asta in GM

#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)

Fara reclama in semnatura!

Posted

pune asta in GM

#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)

Le am puse...

Posted

Din ce ai scris tu baga asa ca mi se pare ca ai facut gresit ceva

IsPlayerAttachedObjectSlotUsed(playerid,1); 
RemovePlayerAttachedObject(playerid,1);		
SetPlayerAttachedObject(playerid, 1 , 18637, 1, 0, -0.1, 0.18, 90, 0, 272, 1, 1, 1);

Merge?

[*]Ce poti face azi, lasa pe maine, ca poate maine nu mai trebuie.

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.