Tematy otagowane jako: poziomu
1. Odawrzanie filmu z poziomu dysku.
Czy z poziomu dysku w MTA da si? za pomoc? jakie? funkcji otworzy? plik wideo?
2. Z poziomu pasażera otwiera mi się gui tankowania
Hej
Jak kto? podje?d?a na stacj?, a jestem pasa?erem to widz? gui i moge tankowa?
jak to zablokowa??
3. Podniesienie poziomu wody
Czy jest jaka? funkcja na podniesienie poziomu wody?
4. Jak zablokować drive-by z poziomu kierowcy?
Witam, jak wida? znowu mam problem, chodzi mi g??wnie o to jak zablokowa? drive-by z poziomu kierowcy i jako pasa?er ?eby da?o si? tylko strzela? z SMG - Uzi(352), Tec-9(372), MP5(353). Za pomoc stawiam
C-Side:
local driveby_blocked_vehicles = { 432 , 601 , 437 , 431 , 592 , 553 , 577 , 488 , 497 , 548 , 563 , 512 , 476 , 447 , 425 , 519 , 520 , 460 , 417 , 469 , 487 , 513 , 441 , 464 , 501 , 465 , 564 , 538 , 449 , 537 , 539 , 570472 , 473 , 493 , 595 , 484 , 430 , 453 , 452 , 446 , 454 , 606 , 591 , 607 , 611 , 610 , 590 , 569 , 611 , 435 , 608 , 584 , 450 }
function setDoingDriveby ()
if isPedDead ( localPlayer ) then return end
local theVehicle = getPedOccupiedVehicle ( localPlayer )
if theVehicle then
local vehicleID = getElementModel ( theVehicle )
for i , v in pairs ( driveby_blocked_vehicles ) do
if vehicleID == v then return end
end
if not isPedDoingGangDriveby ( localPlayer ) then
setPedDoingGangDriveby ( localPlayer , true )
setPedWeaponSlot ( localPlayer , 4 )
else
setPedDoingGangDriveby ( localPlayer , false )
setPedWeaponSlot ( localPlayer , 0 )
setCameraTarget ( localPlayer )
end
end
end
addCommandHandler ( "driveby" , setDoingDriveby )
bindKey ( "mouse2" , "down" , "driveby" )
5. Koguty dla Admina poziomu 3
Witam, chcialem zrobi? przerobi? komende z admina RCON, dla admina poziomu 3, lecz wyskakuje mi taki error :
C:UsersAdminDesktopmapa csekogut.pwn(303) : error 017: undefined symbol "IsAdmin"
C:UsersAdminDesktopmapa csekogut.pwn(305) : error 017: undefined symbol "COLOR_ERROR"
C:UsersAdminDesktopmapa csekogut.pwn(308) : warning 217: loose indentation
C:UsersAdminDesktopmapa csekogut.pwn(312) : warning 225: unreachable code
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
Kod pwn
[code]
#include <a_samp>
#include <zcmd>
#define wersja "1.1 By Oldschool"
#define zapraszam "www"
new posiada[MAX_PLAYERS];
new posiada3[MAX_PLAYERS];
new radiok[MAX_VEHICLES];
new kogut[MAX_VEHICLES];
new posiada2[MAX_PLAYERS];
new taxi[MAX_VEHICLES];
new taxis[MAX_VEHICLES];
public OnPlayerDeath(playerid, killerid, reason)
{
posiada[playerid] = 0;
posiada2[playerid] = 0;
posiada3[playerid] = 0;
return 1;
}
public OnVehicleSpawn(vehicleid)
{
DestroyObject(radiok[GetPlayerVehicleID(vehicleid)]);
DestroyObject(kogut[GetPlayerVehicleID(vehicleid)]);
DestroyObject(taxi[GetPlayerVehicleID(vehicleid)]);
DestroyObject(taxis[GetPlayerVehicleID(vehicleid)]);
posiada[vehicleid] = 0;
posiada3[vehicleid] = 0;
posiada2[vehicleid] = 0;
return 1;
}
public OnVehicleDeath(vehicleid, killerid)
{
DestroyObject(radiok[GetPlayerVehicleID(vehicleid)]);
DestroyObject(kogut[GetPlayerVeh...
6. Doładowania na hosting z poziomu clienta
Witam, chcia?bym stworzy? skrypt do wy?ej wymienionych cel?w.
Pytanie, od czego zacz?? ?