Text for player
#7

Quote:
Originally Posted by Vince
Посмотреть сообщение
Can't assign a literal string to a two-dimensional array. Use strcpy/strcat/strmid to copy strings.
Yes you can, but only if the string sizes match.
pawn Код:
enum heyyyy {
    largestring[128],
    smallstring[128],
}
new PlayerInfo[MAX_PLAYERS][heyyyy];

PlayerInfo[playerid][smallstring] = PlayerInfo[playerid][largestring]; // error
PlayerInfo[playerid][largestring] = PlayerInfo[playerid][smallstring]; // no error
@thread author
use stract...

Quote:
Originally Posted by Quinlynn
Посмотреть сообщение
pawn Код:
new uebergabe[playerid] = textdesspielers;
new Funktion(playerid, uebergabe[playerid]);
Stop posting if you're not familiar with any part of coding.
Reply


Messages In This Thread
Text for player - by Kalli749 - 16.03.2012, 12:43
Re: Text for player - by Twisted_Insane - 16.03.2012, 12:47
Re: Text for player - by Quinlynn - 16.03.2012, 12:50
AW: Text for player - by Kalli749 - 16.03.2012, 13:06
Re: Text for player - by Twisted_Insane - 16.03.2012, 13:09
Re: Text for player - by Vince - 16.03.2012, 13:12
Re: Text for player - by AndreT - 16.03.2012, 13:20

Forum Jump:


Users browsing this thread: 2 Guest(s)