Not saving properly
#8

pawn Код:
sscanf(file, "p,is", room, playername);
file - the string you read from file
"i" - number, in this case hotel room
"s" - string, in this case player's name

https://sampwiki.blast.hk/wiki/Fast_Commands - this is a tutorial how to use sscanf with commands.
Reply


Messages In This Thread
Not saving properly - by Torran - 10.02.2010, 17:22
Re: Not saving properly - by Joe Staff - 10.02.2010, 17:24
Re: Not saving properly - by Torran - 10.02.2010, 17:26
Re: Not saving properly - by MadeMan - 10.02.2010, 18:15
Re: Not saving properly - by Torran - 10.02.2010, 18:20
Re: Not saving properly - by MadeMan - 10.02.2010, 18:27
Re: Not saving properly - by Torran - 10.02.2010, 18:30
Re: Not saving properly - by MadeMan - 10.02.2010, 18:36
Re: Not saving properly - by Torran - 10.02.2010, 18:48
Re: Not saving properly - by MadeMan - 10.02.2010, 18:50

Forum Jump:


Users browsing this thread: 1 Guest(s)