Create Vehicle
#8

Why are you using strings

Use variables instead, like below:
pawn Код:
new CarIDVariable;
db_get_field_assoc(Result, "CarID", CarIDVariable);
If you want to use strings refer to the code below:

This is only an example:
pawn Код:
new String[MAX_PLAYERS][30];
strdel(String[playerid], 0, 30);
strcat(String[playerid], PlayerName(playerid));
There are more ways to do this. Different method same result.
Reply


Messages In This Thread
Create Vehicle - by Ph0eniX - 08.04.2014, 15:17
Re: Create Vehicle - by Micheal123 - 08.04.2014, 15:21
Re: Create Vehicle - by Ph0eniX - 08.04.2014, 15:23
Re: Create Vehicle - by Micheal123 - 08.04.2014, 15:29
Re: Create Vehicle - by UnknownOwner - 08.04.2014, 15:50
Re: Create Vehicle - by Ph0eniX - 08.04.2014, 15:57
Re: Create Vehicle - by azzerking - 08.04.2014, 16:01
Re: Create Vehicle - by SickAttack - 08.04.2014, 16:07
Re: Create Vehicle - by UnknownOwner - 08.04.2014, 16:30
Re: Create Vehicle - by AhmedMohamed - 08.04.2014, 16:34

Forum Jump:


Users browsing this thread: 2 Guest(s)