How to make... ?
#3

Use dcmd and sscanf instead, it's much easier to use / understand.
With sscanf, you need to check for a string, then an integrer, so the format will be "sd".
Check the string (which will store the city) with strcmp for these: "lasventuras", "lv". If it is the same, tele the player to the location of that city the player has given.
Do the same for "sanfierro", "sf" and "lossantos", "ls"
DCMD and SSCANF
Reply


Messages In This Thread
How to make... ? - by Zeromanster - 15.09.2009, 00:22
Re: How to make... ? - by Zeromanster - 15.09.2009, 14:25
Re: How to make... ? - by Clavius - 15.09.2009, 14:32
Re: How to make... ? - by Zeromanster - 15.09.2009, 14:37
Re: How to make... ? - by Peter_Corneile - 15.09.2009, 15:05
Re: How to make... ? - by Calgon - 15.09.2009, 15:08
Re: How to make... ? - by Clavius - 15.09.2009, 15:09
Re: How to make... ? - by Peter_Corneile - 15.09.2009, 15:41
Re: How to make... ? - by Clavius - 15.09.2009, 16:05
Re: How to make... ? - by Peter_Corneile - 15.09.2009, 16:11

Forum Jump:


Users browsing this thread: 3 Guest(s)