Jump to content

Question

Posted

Imi dau erorile astea ce pot face :

C:\Users\Alex\Desktop\b-zone gm\gamemodes\gamemod.pwn(2804) : error 017: undefined symbol "IsPlayerAttachedObjectSlotUsed"
C:\Users\Alex\Desktop\b-zone gm\gamemodes\gamemod.pwn(2804) : error 017: undefined symbol "RemovePlayerAttachedObject"
C:\Users\Alex\Desktop\b-zone gm\gamemodes\gamemod.pwn(2805) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Users\Alex\Desktop\b-zone gm\gamemodes\gamemod.pwn(2802) : warning 203: symbol is never used: "playerid"
C:\Users\Alex\Desktop\b-zone gm\gamemodes\gamemod.pwn(2802 -- 2810) : error 017: undefined symbol "IsPlayerAttachedObjectSlotUsed"
C:\Users\Alex\Desktop\b-zone gm\gamemodes\gamemod.pwn(2810) : error 017: undefined symbol "RemovePlayerAttachedObject"
C:\Users\Alex\Desktop\b-zone gm\gamemodes\gamemod.pwn(2810) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


6 Errors.
astea sunt liniile
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);
}

2 answers to this question

Recommended Posts

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.