10.08.2015, 14:18
Answer to #1:
Example:
Answer to #2:
https://sampwiki.blast.hk/wiki/SetVehicleParamsEx
PHP код:
stock sMoney(geld) {
new str[24],i;valstr(str,geld),i=(geld > 0) ? strlen(str)-3 : strlen(str)-4;
for(; i>0; i-=3) strins(str,".",(geld > 0) ? i : i+1,24);
return str;
}
PHP код:
printf("Your money: %s",sMoney(GetPlayerMoney(playerid)));
https://sampwiki.blast.hk/wiki/SetVehicleParamsEx