What is wrong?
#2

Show where you declare the variable "PlayerData[playerid][PhoneNumber]".

This may help.

pawn Код:
strcat(PlayerData[playerid][PhoneNumber], String);
or this is safer.
pawn Код:
format(PlayerData[playerid][PhoneNumber], sizeof(PlayerData[playerid][PhoneNumber]), "%s", String);
Use the first version (strcat) if "PlayerData[playerid][PhoneNumber]" is an empty array.

Use the second version (format) if "PlayerData[playerid][PhoneNumber]" holds/may hold data.

Remember you can't assign strings like you do with ints ect. Ie, String = value, will not work.
Reply


Messages In This Thread
What is wrong? - by budelis - 31.07.2011, 08:10
Re: What is wrong? - by iggy1 - 31.07.2011, 08:15
Re: What is wrong? - by budelis - 31.07.2011, 10:37
Re: What is wrong? - by MoroDan - 31.07.2011, 10:40
Re: What is wrong? - by Calgon - 31.07.2011, 10:43
Re: What is wrong? - by budelis - 31.07.2011, 11:57
Re: What is wrong? - by budelis - 31.07.2011, 12:13
Re: What is wrong? - by budelis - 31.07.2011, 13:50
Re: What is wrong? - by MadeMan - 31.07.2011, 14:14
Re: What is wrong? - by budelis - 31.07.2011, 14:34

Forum Jump:


Users browsing this thread: 1 Guest(s)