Car system GF
#1

Hello. I'm creating a just system of cars GF. When I want to check whether the player has a car, even as it has shown that the message is. Here's the code:

Код:
for(new v = 0; v < MAX_CARS; v++)
{
if(strcmp(PlayerName(playerid), CarInfo[v][cOwner], true) == 0)
{
SendClientMessage(playerid,0xFFFFFFFF, "* Udało sie. Posiadasz auto :P");
PlayerInfo[playerid][MyCars]++;
if(CarInfo[v][cSpawn])
{
PlayerInfo[playerid][pCar][PlayerInfo[playerid][MyCars]] = AddStaticVehicleEx(CarInfo[v][cModel],CarInfo[v][cX],CarInfo[v][cY],CarInfo[v][cZ],CarInfo[v][cAng],CarInfo[v][cKolor],CarInfo[v][cKolor2], 9999);
}
}
}
Please help
Reply
#2

lol 218 readings and 0 replies? A joke?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)