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:
That gives me 50000, while this makes everyone else have 100
if(self isHost())pTotal = 50000;
What im trying to do, is basically defind a varible if a players name is "this cetain name"
self.TotalZombiePoints = pTotal + 100;
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:
self player_bob = friend1
Anyone know a way i could do this? Thanks!
So then i would go if(self friend1())pTotal = 50000