Attached to Vehicle -
corne - 28.11.2010
Code:
if(strcmp("/sam", cmdtext, true, 10) == 0)
{
if(PlayerInfo[playerid][pTeam] == 2)
{
AttachObjectToVehicle(SAM, GetPlayerVehicleID(playerid), 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
}
return 1;
}
if(strcmp("/tower", cmdtext, true, 10) == 0)
{
if(PlayerInfo[playerid][pTeam] == 2)
{
AttachObjectToVehicle(Tower, GetPlayerVehicleID(playerid), 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
}
return 1;
}
Ive got those errors & warnings:
Code:
C:\Documents and Settings\Corne\Bureaublad\Server0.3c\gamemodes\ZAF3.pwn(839) : error 017: undefined symbol "AttachObjectToVehicle"
C:\Documents and Settings\Corne\Bureaublad\Server0.3c\gamemodes\ZAF3.pwn(848) : error 017: undefined symbol "AttachObjectToVehicle"
C:\Documents and Settings\Corne\Bureaublad\Server0.3c\gamemodes\ZAF3.pwn(380) : warning 204: symbol is assigned a value that is never used: "SAM"
C:\Documents and Settings\Corne\Bureaublad\Server0.3c\gamemodes\ZAF3.pwn(381) : warning 204: symbol is assigned a value that is never used: "Tower"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
Can anyone help me?
Respuesta: Attached to Vehicle -
TheChaoz - 28.11.2010
use the includes of the 0.3c pawn, and the IDS of the objects, or define SAM and Tower as the objects ids
Re: Attached to Vehicle -
corne - 28.11.2010
Ive got now:
Code:
C:\Documents and Settings\Corne\Bureaublad\Server0.3c\gamemodes\ZAF3.pwn(836) : error 017: undefined symbol "AttachObjectToVehicle"
C:\Documents and Settings\Corne\Bureaublad\Server0.3c\gamemodes\ZAF3.pwn(845) : error 017: undefined symbol "AttachObjectToVehicle"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
I have 0.3c includes & pawno.
Respuesta: Attached to Vehicle -
TheChaoz - 28.11.2010
did u open the pawno from the Samp 0.3c folder
Re: Attached to Vehicle -
corne - 28.11.2010
Yes, i did
Respuesta: Attached to Vehicle -
TheChaoz - 28.11.2010
i think no. cause with AttachObjectToVehicle i've no problems. try download the sv again and replace the includes
Re: Attached to Vehicle -
corne - 28.11.2010
I alreadly did so much times ;l
Script i have now:
Code:
if(strcmp("/sam", cmdtext, true, 10) == 0)
{
if(PlayerInfo[playerid][pTeam] == 2)
{
AttachObjectToVehicle(18848, GetPlayerVehicleID(playerid), 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
}
return 1;
}
if(strcmp("/tower", cmdtext, true, 10) == 0)
{
if(PlayerInfo[playerid][pTeam] == 2)
{
AttachObjectToVehicle(3279, GetPlayerVehicleID(playerid), 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
}
return 1;
}
Respuesta: Attached to Vehicle -
TheChaoz - 28.11.2010
i'm sure that u 're not using the correct pawn includes.
Re: Attached to Vehicle -
corne - 28.11.2010
Omg, im not crazy -.- I can do it 100 times again in same folder, re-download includes but doesnt work -.-
Re: Attached to Vehicle -
scripter1 - 28.11.2010
I also have the same problem. I've verified everything and yes I am using the correct pawn includes.