#1

Deleted
Reply
#2

Remove the last bracket
Reply
#3

pawn Код:
DOF2_SetInt(xPFile(DOF2_GetString(VFile(vehicleid), "CarOwner")), "MoneyBank", DOF2_GetInt(xPFile(DOF2_GetString(VFile(vehicleid), "CarOwner")), "MoneyBank") + DOF2_GetInt(VFile(vehicleid), "CarPrice"));
Reply
#4

Quote:
Originally Posted by UnknownOwner
Посмотреть сообщение
Remove the last bracket
Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
pawn Код:
DOF2_SetInt(xPFile(DOF2_GetString(VFile(vehicleid), "CarOwner")), "MoneyBank", DOF2_GetInt(xPFile(DOF2_GetString(VFile(vehicleid), "CarOwner")), "MoneyBank") + DOF2_GetInt(VFile(vehicleid), "CarPrice"));
new error -_-
PHP код:
error 035argument type mismatch (argument 1
PHP код:
DOF2_SetInt(PFile(DOF2_GetInt(VFile(vehicleid), "CarOwned")), "MoneyBank"DOF2_GetInt(DOF2_GetInt(VFile(vehicleid), "CarOwned"), "MoneyBank") + DOF2_GetInt(VFile(vehicleid),"CarPrice")); 
Reply
#5

pawn Код:
DOF2_SetInt(PFile(DOF2_GetInt(VFile(vehicleid), "CarOwned")), "MoneyBank", DOF2_GetInt(PFile(DOF2_GetInt(VFile(vehicleid), "CarOwned")), "MoneyBank") + DOF2_GetInt(VFile(vehicleid),"CarPrice"));
I see, it returned integer instead of array (file path).
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)