25.03.2013, 02:32
pAccent is a string, yet you're declaring and assigning it to an integer. That's two faulty things to do in one:
1. Assign string to an integer
2. Declare a variable to hold information from another variable, even when you use it only once.
It's not timesaving nor more efficient.
Simply use PlayerInfo[playerid][pAccent] instead of accent and you should be fine.
1. Assign string to an integer
2. Declare a variable to hold information from another variable, even when you use it only once.
It's not timesaving nor more efficient.
Simply use PlayerInfo[playerid][pAccent] instead of accent and you should be fine.