Detaljan opis problema:Ovako dodavao sam stitove za FBI,PD,SWAT i mali kufer za precednika, ali imam 12 errora ☹️
Dio skripte:
//Stitovi za PD,FBI,SWAT
if (strcmp("/ostavistit", cmdtext, true, 10) == 0)
{
if(PlayerInfo >= 3 || PlayerInfo >= 3)
{
if(IsPlayerAttachedObjectSlotUsed(playerid,0)) RemovePlayerAttachedObject(playerid,0);
}
}
if (strcmp("/uzmistit", cmdtext, true, 10) == 0)
{
if(PlayerInfo >= 3 || PlayerInfo == 3)
{
SetPlayerAttachedObject( playerid, 0, 18637, 5, -0.064955, -0.135697, -0.200892, 54.463840, 10.984453, 87.706436, 1.078429, 1.000000, 1.000000 ); // PoliceShield1 - stit
}
}
if (strcmp("/ostavistit", cmdtext, true, 10) == 0)
{
if(PlayerInfo >= 2 || PlayerInfo >= 2)
{
if(IsPlayerAttachedObjectSlotUsed(playerid,0)) RemovePlayerAttachedObject(playerid,0);
}
}
if (strcmp("/uzmistit", cmdtext, true, 10) == 0)
{
if(PlayerInfo >= 2 || PlayerInfo == 2)
{
SetPlayerAttachedObject( playerid, 0, 18637, 5, -0.064955, -0.135697, -0.200892, 54.463840, 10.984453, 87.706436, 1.078429, 1.000000, 1.000000 ); // PoliceShield1 - stit
}
}
if (strcmp("/ostavistit", cmdtext, true, 10) == 0)
{
if(PlayerInfo >= 1 || PlayerInfo >= 1)
{
if(IsPlayerAttachedObjectSlotUsed(playerid,0)) RemovePlayerAttachedObject(playerid,0);
}
}
if (strcmp("/uzmistit", cmdtext, true, 10) == 0)
{
if(PlayerInfo >= 1 || PlayerInfo == 1)
{
SetPlayerAttachedObject( playerid, 0, 18637, 5, -0.064955, -0.135697, -0.200892, 54.463840, 10.984453, 87.706436, 1.078429, 1.000000, 1.000000 ); // PoliceShield1 - stit
}
}
//Kofer za precednika
if (strcmp("/ostaviaktovku", cmdtext, true, 10) == 0)
{
if(PlayerInfo >= 7 || PlayerInfo == 7)
{
if(IsPlayerAttachedObjectSlotUsed(playerid,0)) RemovePlayerAttachedObject(playerid,0);
}
}
if (strcmp("/uzmiaktovku", cmdtext, true, 10) == 0)
{
if(PlayerInfo >= 7 || PlayerInfo == 7)
{
SetPlayerAttachedObject( playerid, 0, 1210, 5, 0.309078, 0.085499, 0.029562, 347.746734, 263.091888, 1.445542, 1.101942, 1.000000, 1.000000 ); // briefcase - aktovka
}
}Errori
C:\Documents and Settings\Stevan\Desktop\KUCNI SERVER\gamemodes\RelaxZone.pwn(19981) : error 017: undefined symbol "IsPlayerAttachedObjectSlotUsed"
C:\Documents and Settings\Stevan\Desktop\KUCNI SERVER\gamemodes\RelaxZone.pwn(19981) : error 017: undefined symbol "RemovePlayerAttachedObject"
C:\Documents and Settings\Stevan\Desktop\KUCNI SERVER\gamemodes\RelaxZone.pwn(19989) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Documents and Settings\Stevan\Desktop\KUCNI SERVER\gamemodes\RelaxZone.pwn(19997) : error 017: undefined symbol "IsPlayerAttachedObjectSlotUsed"
C:\Documents and Settings\Stevan\Desktop\KUCNI SERVER\gamemodes\RelaxZone.pwn(19997) : error 017: undefined symbol "RemovePlayerAttachedObject"
C:\Documents and Settings\Stevan\Desktop\KUCNI SERVER\gamemodes\RelaxZone.pwn(20005) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Documents and Settings\Stevan\Desktop\KUCNI SERVER\gamemodes\RelaxZone.pwn(20013) : error 017: undefined symbol "IsPlayerAttachedObjectSlotUsed"
C:\Documents and Settings\Stevan\Desktop\KUCNI SERVER\gamemodes\RelaxZone.pwn(20013) : error 017: undefined symbol "RemovePlayerAttachedObject"
C:\Documents and Settings\Stevan\Desktop\KUCNI SERVER\gamemodes\RelaxZone.pwn(20021) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Documents and Settings\Stevan\Desktop\KUCNI SERVER\gamemodes\RelaxZone.pwn(20030) : error 017: undefined symbol "IsPlayerAttachedObjectSlotUsed"
C:\Documents and Settings\Stevan\Desktop\KUCNI SERVER\gamemodes\RelaxZone.pwn(20030) : error 017: undefined symbol "RemovePlayerAttachedObject"
C:\Documents and Settings\Stevan\Desktop\KUCNI SERVER\gamemodes\RelaxZone.pwn(20038) : error 017: undefined symbol "SetPlayerAttachedObject"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
12 Errors.
Neke slike/video za lakse dobivanje pomoci(neobavezno):

