Code:
public item_gas(){
new arg[32], arg2[32], id
read_argv(1,arg,31)
read_argv(2,arg2,31)
id = str_to_num(arg)
if(incar[id] == 1){
fuel[id] = str_to_num(arg2) // this is 600? now it should work
}
else
{
client_print(id,print_chat,"[CarMod] You need to be incar to put in gas!")
}
return PLUGIN_HANDLED
}