10.06.2010, 12:04
That is knowned /v hind aka /v price
Gamemode LARP edit.
When uncomment, then pawno library crash, commented, then no crash.
I dont see any mistakes? :S
Gamemode LARP edit.
When uncomment, then pawno library crash, commented, then no crash.
Код:
else if(strcmp(x_nr,"hind",true) == 0)
{
if(IsAnOwnableCar(idcar))
{
if(IsPlayerInVehicle(playerid, vehid))
{
if(CarInfo[idcar][cOwned]==0)
{
TogglePlayerControllable(playerid, 0);
format(string,sizeof(string),"[AUTO] Sхiduk: %s | Hind: %d",CarInfo[idcar][cDescription],CarInfo[idcar][cValue]);
SendClientMessage(playerid, COLOR_GREY, string);
}
else
}
SendClientMessage(playerid, COLOR_GREY, "Sхiduk ei ole mььgis!");
return 1;
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Sa ei ole sхidukis!");
return 1;
}
}
}

