11.10.2011, 01:56
veнculo й no OnPlayerSelectedMenuRow amigo, conforme abaixo:
Код:
public OnPlayerSelectedMenuRow(playerid, row) { new Menu:carros; carros = GetPlayerMenu(playerid); new Float: pX, Float: pY, Float: pZ; GetPlayerPos(playerid, pX, pY, pZ); if(carros == menucar) { switch(row) { case 0: // NRG - 500 { mcarcriado[playerid] = CreateVehicle(522, pX, pY, pZ, 10, 1, 1,1); LinkVehicleToInterior(mcarcriado[playerid], GetPlayerInterior(playerid)); ...