24.12.2011, 15:14
Hello....
I have a Vehicle System but the problem is
i would on onplayerconnect that his cars load..
I hope for your help.
This is my query:
I have a Vehicle System but the problem is
i would on onplayerconnect that his cars load..
I hope for your help.
This is my query:
Код:
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,MAX_PLAYER_NAME);
for(new i; i<=MAX_CARS; i++)
{
format(VehInfo[i][Owner], 34, "%s", mysql_GetStringWithInt("vehicles", "owner", "id", i));
if(strmatch(VehInfo[i][besitzer], name))
{
// here will load the information from the db

