06.02.2012, 14:15
(
Последний раз редактировалось Just rp; 06.02.2012 в 14:48.
)
Please help me out.
i can now see my cars in a dialog
but i wanna spawn them away in a box or to anywhere. into it. that it go's away. ( that i STORE him and if i typ again and stuff that i can Restore it )) if i typ /vstorage and click the car in the list.
i have now this
Please help me out
Like this:
http://i44.tinypic.com/314tbhf.png
But that is from another server
i can now see my cars in a dialog
but i wanna spawn them away in a box or to anywhere. into it. that it go's away. ( that i STORE him and if i typ again and stuff that i can Restore it )) if i typ /vstorage and click the car in the list.
i have now this
pawn Код:
CMD:vstorage(playerid, params[])
{
new vstring[1024];
for(new i; i < MAX_PLAYERVEHICLES; i++)
{
if(PlayerVehicleInfo[playerid][i][pvId] > INVALID_PLAYER_VEHICLE_ID)
format(vstring, sizeof(vstring), "%s\n%s", vstring, VehicleName[PlayerVehicleInfo[playerid][i][pvModelId] - 400]);
else if(PlayerVehicleInfo[playerid][i][pvImpounded] == 1)
format(vstring, sizeof(vstring), "%s\n%s (impounded)", vstring, VehicleName[PlayerVehicleInfo[playerid][i][pvModelId] - 400]);
else
format(vstring, sizeof(vstring), "%s\nEmpty", vstring);
}
ShowPlayerDialog(playerid, VSTORAGE, DIALOG_STYLE_LIST, "OnStar Vehicle Storage", vstring, "(UN)Store", "Cancel");
return 1;
}
Like this:
http://i44.tinypic.com/314tbhf.png
But that is from another server