05.04.2010, 15:46
Quote:
Originally Posted by biltong
You don't need to make any variables with PVars, so where you use
Code:
Car[i] pawn Code:
|
--------------------------------------
Quote:
Originally Posted by Babul
using the SetPVar like this wont work, just format your PVariable string (its name) like u would for accessing a file:
Code:
format(pvarstring,sizeof(pvarstring),"Car%d",carID); Code:
SetPVarInt(playerid,pvarstring,123) format(line,sizeof(line),"%s %d\r\n",pvarstring,GetPVarInt(TargetID,pvarstring)); |

EDIT: And yes it worked
