Mala Pomoc

Započeo r4z0r, Jun 05, 2009, 22:51:57 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

r4z0r

Znam da zvuci malo njubasto ali interesuje me sta mu ga ovo znaci .. nikak nemrem da skuzim u cemu je poenta posto jedan dio radi drugi ne eh pogle ovo :
// - Pickups           

skydive = CreatePickup(122,1230.6877,-807.8174,1084.0078,354.7905); // ukradicash info icon
fenter = CreatePickup(1239, 1, 1596.4839,-1032.8760,23.9063); // Fair Fun Entrance
gondolai = CreatePickup(1239, 1, 1598.6445,-1021.6472,24.1943); // Gondola
gondolad = CreatePickup(1239, 1, 1598.742,-1019.515,100.124);
food1 = CreatePickup(122,1277.5082,-813.7712,1085.6328,94.7212); // sladoled info icon
trava = CreatePickup(122,1292.5183,-827.5148,1086.0076,56.2790); // trava info icon
pice = CreatePickup(122,1254.4255,-790.5550,1084.0078,172.6716); // bar info icon
    box = CreatePickup(122,1234.1415,-766.7949,1084.0078,356.3101); // box info icon

return 1;
}


Scriptu sam uzeo od jednog lika trebalo mi je samo par stvari ovo je ionako za zezanciju na mom test serveru ..
Problem je u ovom kad idem compile sve je ok sem ovog gore navedenog djela ..

Error:

C:\DOCUME~1\pc\Desktop\FairFun.pwn(76) : warning 213: tag mismatch
C:\DOCUME~1\pc\Desktop\FairFun.pwn(80) : warning 213: tag mismatch
C:\DOCUME~1\pc\Desktop\FairFun.pwn(81) : warning 213: tag mismatch
C:\DOCUME~1\pc\Desktop\FairFun.pwn(82) : warning 213: tag mismatch
C:\DOCUME~1\pc\Desktop\FairFun.pwn(83) : warning 213: tag mismatch


Znam da znate u cemu je problem ja sam ipak pocetnik u scriptanju .. pls postajte odgovor . Thx !

matejdz

CreatePickup(model, type, Float:X, Float:Y, Float:Z);

Correlli

Koristiš kordinatu umjesto spawn tipa.

Citat: wiki.sa-mp.com
Parameters:
CreatePickup(model, type, Float:X, Float:Y, Float:Z)
   model   The model ID you'd like for the pickup.
   type   The pickup spawn type, see further down this page.
   Float:X   The X-coordinate for the pickup to show.
   Float:Y   The Y-coordinate for the pickup to show.
   Float:Z   The Z-coordinate for the pickup to show.
   Returns   The PickupID.

Citat: wiki.sa-mp.com
Available Pickup Types:
0 The pickup does not display.
1 Not pickupable, exists all the time.
2 Pickupable, respawns after some time.
3 Pickupable, but doesn't respawn.
4 Disappears shortly after created (perhaps for weapon drops?)
5 Disappears shortly after created (perhaps for weapon drops?)
8 Pickupable, but has no effect. Disappears automatically.
11 Blows up a few seconds after being created (bombs?)
12 Blows up a few seconds after being created.
13 Slowly decends to the ground.
14 Pickupable, but only when in a vehicle. Falls through objects made with CreateObject, etc.
15 Pickupable, but doesn't respawn.
19 Pickupable, but has no effect (information icons?)
22 Pickupable, but doesn't respawn.
23 Pickupable, but doesn't disappear on pickup.
Poslednja Izmena: Jun 06, 2009, 13:25:02 POSLE PODNE od Don Correlli

r4z0r

Eee hvala matejdz .. za type i model nisam znao ja kontao treba samo koo unjet ;) thx jos jednom

Ovde LOCK