24.11.2010, 11:53
(
Последний раз редактировалось ihatetn931; 24.11.2010 в 12:25.
)
Well when you sell your car in my scirpt it sets your Vehicle to None, Well it's suppose to.
For some reason this query isn't working
Any reason why it's not updating the vehicle to "None" ?
Unless i'm missing somthing. It's not even giving out a print
Edit:
I got it working, Nevermind. Someone mind locking/delteing this topic?
For some reason this query isn't working
pawn Код:
format(str,sizeof(str),"UPDATE playervehicles SET Vehicle1='None' WHERE CarOwner = '%s'"plname);
mysql_query(str);
Unless i'm missing somthing. It's not even giving out a print
pawn Код:
if(strmatch(str1, PlayerVehicle[playerid][pVeh1])){
DestroyVehicle(vehi);[color = green] // this is getting called [/color]
format(str,sizeof(str),"UPDATE playervehicles SET Vehicle1='None' WHERE CarOwner = '%s'"plname);
mysql_query(str);
printf("%s",str);
return 1;
}
I got it working, Nevermind. Someone mind locking/delteing this topic?