SA-MP Forums Archive
[help]guys i keep getting 3 warnings - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [help]guys i keep getting 3 warnings (/showthread.php?tid=230563)



[help]guys i keep getting 3 warnings - eblood1 - 23.02.2011

C:\Users\EbloOD1\Desktop\kings_of_king\pawno\inclu de\streamer.inc(435) : warning 202: number of arguments does not match definition
C:\Users\EbloOD1\Desktop\kings_of_king\pawno\inclu de\streamer.inc(449) : warning 202: number of arguments does not match definition
C:\Users\EbloOD1\Desktop\kings_of_king2\filterscri pts\xStream.pwn(1342) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


3 Warnings.

when i go in game i cant see anything..i cant see object please help


Re: [help]guys i keep getting 3 warnings - MadeMan - 23.02.2011

Show the lines where the errors are.


Re: [help]guys i keep getting 3 warnings - xRyder - 23.02.2011

Show us the lines where you get those warnings.


Re: [help]guys i keep getting 3 warnings - maramizo - 23.02.2011

Oh wait let me guess.
You used some code wrong? Fix that...
Seriously post the fuckin lines.


Re: [help]guys i keep getting 3 warnings - eblood1 - 23.02.2011

CreateDynamicObject(2918,-494.08197021,2509.68945312,54.42964172,0.00000000, 0.00000000,0.00000000); //object(kmb_mine) (26)

CreateDynamicObject(2918,-486.81744385,2490.96630859,54.42964172,0.00000000, 0.00000000,0.00000000); //object(kmb_mine) (26)

CreateObject(18860,1553.7158203125, 1438.3564453125, 76.903793334961, 0, 0, 0);

that


Re: [help]guys i keep getting 3 warnings - maramizo - 23.02.2011

CreateDynamicObject has 11 arguements.
Also
CreateObject has 8 Arguements.


Re: [help]guys i keep getting 3 warnings - xRyder - 23.02.2011

For the first two lines where you get those warnings, you used wrong syntax.
It's: ( I guess that you use Streamer Plugin 2.5.2 by Incognito)
pawn Код:
CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 200.0);
For the third one you'll just need to add/subtract tab.


Re: [help]guys i keep getting 3 warnings - eblood1 - 23.02.2011

Quote:
Originally Posted by xRyder
Посмотреть сообщение
For the first two errors you used wrong syntax.
It's: ( I guess that you use Streamer Plugin 2.5.2 by Incognito)
pawn Код:
CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 200.0);
For the third one you'll just need to add/subtract tab.
witch one i have to use to fix this problem?


Re: [help]guys i keep getting 3 warnings - Antonio [G-RP] - 23.02.2011

Quote:
Originally Posted by eblood1
Посмотреть сообщение
witch one i have to use to fix this problem?
Honestly, just stop scripting. You will never catch on to anything at this rate. You don't even know how to properly get help with your scripting issues.


Re: [help]guys i keep getting 3 warnings - eblood1 - 23.02.2011

Quote:
Originally Posted by Antonio [G-RP]
Посмотреть сообщение
Honestly, just stop scripting. You will never catch on to anything at this rate. You don't even know how to properly get help with your scripting issues.
so u help me then