How would i do this right?
#4

Quote:
Originally Posted by Torran
pawn Код:
AccountInfo[playerid][Year] = inputtext;
Integer:
pawn Код:
enum blabla
{
    Year  // integer
}
new AccountInfo[MAX_PLAYERS][blabla];
AccountInfo[playerid][Year] = strval(inputtext);
String:
pawn Код:
enum blabla
{
    Year[32]  // string
}
new AccountInfo[MAX_PLAYERS][blabla];
strmid(AccountInfo[playerid][Year], inputtext, 0, strlen(inputtext), 128);
Reply


Messages In This Thread
How would i do this right? - by Torran - 06.03.2010, 12:46
Re: How would i do this right? - by Eazy_Efolife - 06.03.2010, 12:48
Re: How would i do this right? - by Torran - 06.03.2010, 12:50
Re: How would i do this right? - by smeti - 06.03.2010, 13:38

Forum Jump:


Users browsing this thread: 2 Guest(s)