[Help] Vehicle Buying System
#8

pawn Код:
if (car == vehicle[100])
{
AddVehicleComponent(Vehicle, 1010);
format(string, sizeof(string), "You Are in car number %d", car);
SendClientMessage(playerid,0xFF0000AA,string);
}
For starters
%s = Text.
%d = Whole Number.

So when returning a vehicleid, the id is a whole number so you need to use %d.
Reply


Messages In This Thread
[Help] Vehicle Buying System - by borisblat - 29.05.2009, 07:53
Re: [Help] Vehicle Buying System - by v0nz - 29.05.2009, 08:16
Re: [Help] Vehicle Buying System - by borisblat - 29.05.2009, 08:24
Re: [Help] Vehicle Buying System - by lol2112 - 29.05.2009, 08:41
Re: [Help] Vehicle Buying System - by borisblat - 29.05.2009, 08:55
Re: [Help] Vehicle Buying System - by NeRoSiS - 29.05.2009, 09:46
Re: [Help] Vehicle Buying System - by borisblat - 29.05.2009, 12:17
Re: [Help] Vehicle Buying System - by miokie - 29.05.2009, 12:48
Re: [Help] Vehicle Buying System - by lol2112 - 29.05.2009, 13:47
Re: [Help] Vehicle Buying System - by borisblat - 29.05.2009, 14:10

Forum Jump:


Users browsing this thread: 1 Guest(s)