28.07.2015, 09:41
OnPlayerEnterVehicle:
When i enter in car,the server give me id 2,but car have id 1 (Mysql)
Example System house:
System house:Server give me correctly id of house.
System personal vehicle:
The system is working good,
but i can't get car id from mysql in game
System is based on Mysql (ORM)
Sorry for my bad english)
Код:
for(new c=0;c<=c_h;c++)
{
PlayerInfo[playerid][pCarID] = c;
}
Example System house:
Код:
OnPlayerPickupPickup:
for(new h = 0; h <= m_h; h++)
{
IsPlayerInRangeOfPoint(playerid,HomeInfo[h][Entryx],HomeInfo[h][Entryy]
,HomeInfo[h][Entryz],2.0);
{
PlayerInfo[playerid][HID] = h;
}
}
System personal vehicle:
The system is working good,
but i can't get car id from mysql in game
System is based on Mysql (ORM)
Sorry for my bad english)


