Script help
#5

WOW What a dumb code, instead of using those long ass cases, use a string parameter...

Example:
Код:
public vUpdate(vehicleid, type[]) 
{ 
    new gQuery[1024]; 
    format(gQuery,sizeof(gQuery),"UPDATE `cars` SET `%e`='%f' WHERE `ID`='%d'", type, CarInfo[vehicleid][cLocationx],vehicleid)
}
Done.
Reply


Messages In This Thread
Script help - by Ax3l123 - 08.02.2016, 15:15
Re: Script help - by Ax3l123 - 08.02.2016, 18:44
Re: Script help - by ikey07 - 08.02.2016, 18:56
Re: Script help - by Ax3l123 - 08.02.2016, 19:19
Re: Script help - by amirm3hdi - 08.02.2016, 19:21
Re: Script help - by ikey07 - 08.02.2016, 19:23

Forum Jump:


Users browsing this thread: 1 Guest(s)