SA-MP Forums Archive
[Help] GetVehicleComponentType - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [Help] GetVehicleComponentType (/showthread.php?tid=126198)



[Help] GetVehicleComponentType - Jo_123 - 07.02.2010

I have erors

undefined symbol "GetVehicleComponentType"


Re: [Help] GetVehicleComponentType - Finn - 07.02.2010

Quote:
Warning: This function was added in SA-MP version 0.3. It is not available in previous versions.




Re: [Help] GetVehicleComponentType - Jo_123 - 07.02.2010

i have samp 0.3

undefined symbol "GetVehicleComponentType"?


Re: [Help] GetVehicleComponentType - Rzzr - 07.02.2010

You have to post some code so we can see what's wrong.
Maybe you've put it on the wrong place?


Re: [Help] GetVehicleComponentType - Jo_123 - 07.02.2010

I COPY TO OTHER MOD

mod one have eror

mod tow no eror

what your skype??


Re: [Help] GetVehicleComponentType - Rzzr - 07.02.2010

I'm not giving you my skype.
Just post your code..


Re: [Help] GetVehicleComponentType - Jo_123 - 07.02.2010

Quote:

else if(!strcmp(x_imp,"sultan",true))
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_WHITE, "USAGE: /Improve Sultan [Num(1-14)]");
return 1;
}
new kind = strval(tmp);
if(kind == 1)
comp = 1026;
else if(kind == 2)
comp = 1027;
else if(kind == 3)
comp = 1028;
else if(kind == 4)
comp = 1029;
else if(kind == 5)
comp = 1030;
else if(kind == 6)
comp = 1031;
else if(kind == 7)
comp = 1032;
else if(kind ==
comp = 1033;
else if(kind == 9)
comp = 1138;
else if(kind == 10)
comp = 1139;
else if(kind == 11)
comp = 1140;
else if(kind == 12)
comp = 1141;
else if(kind == 13)
comp = 1169;
else if(kind == 14)
comp = 1170;
else
return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /Improve Sultan [Num(1-16)]");
AddVehicleComponent(vehicleid, comp);
SaveComp(comp,GetVehicleComponentType(comp),Vehicl eInfo[vehicleid][vDescription],vehicleid);
format(string, sizeof(string), "* %s improved the vehicle.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE);
return 1;
}

i need help!!!


Re: [Help] GetVehicleComponentType - WackoX - 07.02.2010

Did you compiled it with the latest includes?


Re: [Help] GetVehicleComponentType - Jo_123 - 07.02.2010

i need your skye you can give me?

i have the includes and have eror