View Single Post
Old 19/02/2015, 09:16 PM   #12
CalvinC
High-roller
 
CalvinC's Avatar
 
Join Date: Nov 2014
Location: Denmark
Posts: 1,831
Reputation: 114
Default Re: Creating a function

The way you use it:
pawn Code:
ChangeBizInfo(id,BusinessInfo[id][bName],playerid);
Doesn't match with the parameters:
pawn Code:
ChangeBizInfo(bizid,playerid,bizname[128])
You should use it like this:
pawn Code:
ChangeBizInfo(id,playerid,BusinessInfo[id][bName]);

And i don't think it's necessary to use "bizname[128]", you could just use "bizname[]", might be wrong though, haven't tried that.
__________________
[Tutorial] Custom Playerdamage system
Desert Eagle's dealing too much damage, you want one-hit sniper kills, or damage based on body parts? Check this out.
CalvinC is offline   Reply With Quote