Checking for spaces in OnPlayerText
#1

Hey! I've been trying to fix this problem for a while now but, sadly no luck.

What I want to happen is when somebody calls for a Taxi, they are asked where they are located, obviously, if they're, say at Glen Park it'll just show "Glen".

pawn Код:
strmid(PlayerTaxiLoca[playerid], tmp, 0, strlen(text), sizeof(tmp));
format(string, sizeof string, "Redsquare Taxis says: Alright, a Taxi should be on it's way to '%s'! Thanks for calling.", PlayerTaxiLoca[playerid]);
SendClientMessage(playerid, COLOR_GREY, string);
Reply


Messages In This Thread
Checking for spaces in OnPlayerText - by Luis- - 06.05.2015, 13:50
Re: Checking for spaces in OnPlayerText - by Konstantinos - 06.05.2015, 13:58
Re: Checking for spaces in OnPlayerText - by Luis- - 06.05.2015, 14:01
Re: Checking for spaces in OnPlayerText - by Konstantinos - 06.05.2015, 14:05
Re: Checking for spaces in OnPlayerText - by Luis- - 06.05.2015, 14:07
Re: Checking for spaces in OnPlayerText - by Ahmad45123 - 06.05.2015, 14:08
Re: Checking for spaces in OnPlayerText - by Konstantinos - 06.05.2015, 14:15
Re: Checking for spaces in OnPlayerText - by Luis- - 06.05.2015, 14:16
Re: Checking for spaces in OnPlayerText - by MP2 - 06.05.2015, 14:20
Re: Checking for spaces in OnPlayerText - by Luis- - 06.05.2015, 14:24

Forum Jump:


Users browsing this thread: 1 Guest(s)