Pickup(si)

Započeo [ED] ZicMortal, Januar 21, 2010, 22:20:50 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Imam problem sa Pickupsima, na serveru [kucnom mom] gotovo da nema nijednoga .. neznam kako da slozim "da se vide" (pickupsi), i moze li mi tko vise objasnit o tome?  :-\
Respekt: [H]265, John, [03]Garsino, LordShigi, Dujma, Carlsson, Randy, Jacobs, Hu5o, Toni, Lukas, Curtis, Ivo, Hawks, Jack, Koksildo, gonss

Haha OMG => http://zaslike.com/files/9rd5urq94yqagvdsx3i.png [ovo nema nigdje]

Ja imam ovako,...
Citat//Pickups


   AddStaticPickup( id pickupa,2,x,y,z );//  

Npr.
CitatAddStaticPickup( 1240,2, -1328.2368,-302.4099,14.1484);//


Samo staviš svoje kordinate

edit:
A za oružje sam si napravio filter skriptu...

Evo npr:

Citat#include <a_samp>
#define FILTERSCRIPT
#if defined FILTERSCRIPT
new mypickup,mypickup1;
public OnFilterScriptInit()
{
mypickup = CreatePickup(model wep, 2, x,y,z, -1);
mypickup1 = CreatePickup(357, 2, -1251.8341,-64.7618,29.9771, -1);
return 1;
}
public OnFilterScriptExit()
{
        return 1;
}
#else
#endif
public OnPlayerPickUpPickup(playerid, pickupid)
{
    if (pickupid == mypickup)
{
    GivePlayerWeapon(playerid, id wep, ammo);
}
    if (pickupid == mypickup1)
{
    GivePlayerWeapon(playerid, 33, 150);
}

    return 1;
}
Poslednja Izmena: Januar 21, 2010, 22:33:15 POSLE PODNE od Maltheus!

AddStaticPickup( id pickupa,2,x,y,z ,vw(virtual world) );




Problem je u virtual worldu pickupa?  ???
Respekt: [H]265, John, [03]Garsino, LordShigi, Dujma, Carlsson, Randy, Jacobs, Hu5o, Toni, Lukas, Curtis, Ivo, Hawks, Jack, Koksildo, gonss

Haha OMG => http://zaslike.com/files/9rd5urq94yqagvdsx3i.png [ovo nema nigdje]

Bogme dok sam ja to tek počeo raditi ...Meni su bili svakavi ti broje vw i uvjek sa, h vidjeo  ;D



Ipak mi nije jasno kak da ja prema ovome napravim [pickup se vidi al...] recimo /oprema samo za clanove neke organizacije  >:(

Citatnew pickup; // Create a variable to store the pickup ID in

public OnGameModeInit()
{
    pickup = CreatePickup(1242, 2, 1503.3359, 1432.3585, 10.1191, -1);
    // Create an armour pickup and store the ID in 'pickup'
Respekt: [H]265, John, [03]Garsino, LordShigi, Dujma, Carlsson, Randy, Jacobs, Hu5o, Toni, Lukas, Curtis, Ivo, Hawks, Jack, Koksildo, gonss

Haha OMG => http://zaslike.com/files/9rd5urq94yqagvdsx3i.png [ovo nema nigdje]

r4z0r

Zic imas moj tutorial za pickupe , koristi trazilicu .
Ja sam tamo sve detaljno objasnio .

turker_kc

Virtual World koristis samo kad imas interior ::)