SA-MP Forums Archive
Streamer - Incogito - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Streamer - Incogito (/showthread.php?tid=589924)



Streamer - Incogito - ManGoe - 24.09.2015

pawn Код:
WeaponsCacheDrop(Float:x, Float:y, Float:z)
{
    if(webc_ActiveDrop != -1)
        return 0;

    CreateDynamicObject(964, x, y, z - 0.0440, 0.0, 0.0, 0.0, .streamdistance = 1000.0, .drawdistance = 1000.0);//This line This line This line This line This line This line This line This line This line Carry's error

    wepc_CurrentPosX = x;
    wepc_CurrentPosY = y;
    wepc_CurrentPosZ = z;

    FillContainerWithLoot(
        CreateContainer("Weapon Cache", 32,
            CreateButton(x, y - 0.5, z + 1.0, "Weapon Cache")),
        22 + random(11), loot_MilWepCrate);

    defer WeaponsCacheSignal(1, x, y, z);

    return 1;
}
Need help in southclaw's scavenge and survive gm thats the code and marked the line which carry's errors
E:\Scavengesurvive\pawno\include\SS/Core/World/WeaponsCache.pwn(113) : error 017: undefined symbol "drawdistance"
E:\Scavengesurvive\pawno\include\SS/Core/World/WeaponsCache.pwn(113) : warning 215: expression has no effect
E:\Scavengesurvive\pawno\include\SS/Core/World/WeaponsCache.pwn(113) : error 001: expected token: ";", but found ")"
E:\Scavengesurvive\pawno\include\SS/Core/World/WeaponsCache.pwn(113) : error 029: invalid expression, assumed zero
E:\Scavengesurvive\pawno\include\SS/Core/World/WeaponsCache.pwn(113) : fatal error 107: too many error messages on one line


Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


Re: Streamer - Incogito - Mister0 - 24.09.2015

Try to update streamer


AW: Re: Streamer - Incogito - Kaliber - 24.09.2015

Quote:
Originally Posted by Mister0
Посмотреть сообщение
Try to update streamer
Oh pls..what a nonsense...

You have to write it just like this..i mean look at the function:

PHP код:
CreateDynamicObject(modelidFloat:xFloat:yFloat:zFloat:rxFloat:ryFloat:rzworldid = -1interiorid = -1playerid = -1Float:streamdistance STREAMER_OBJECT_SDFloat:drawdistance STREAMER_OBJECT_DD);
//So when you wanna use it, do it like this:
CreateDynamicObject(964xy0.04400.00.00.0, -1, -1, -11000.01000.0); 
Easy as that...