Hey guys! I need help defining a variable for a certain player. What i mean is im trying to give my friend that i know lots of money, while everyone else still has their standard amount.
Heres what i do for myself:
Code:
if(self isHost())pTotal = 50000;
That gives me 50000, while this makes everyone else have 100
Code:
self.TotalZombiePoints = pTotal + 100;
What im trying to do, is basically defind a varible if a players name is "this cetain name"
For example, lets say my friend is Bob. (i know this wont work, just an example of what i think it will turn out to be something like:
Code:
self player_bob = friend1
Code:
So then i would go if(self friend1())pTotal = 50000
Anyone know a way i could do this? Thanks!