Samp Warnings
#1

Well Im Getting Warnings and Idk y
pawn Код:
new Text3D:BBLabel;
pawn Код:
format(string, sizeof(string), ""COL_LIME"Boombox Owner: %s\n"COL_RED"/setboombox\n"COL_WHITE"Type /placeboombox again to destroy it.", GetPlayerName(playerid)); //Number of Arguements
pawn Код:
BBLabel = CreateDynamic3DTextLabel(string, COLOR_WHITE, x, y, z+0.6, 5.0, .worldid = GetPlayerVirtualWorld(playerid), .interiorid = GetPlayerInterior(playerid));//BBLabel
WARNINGS:
Код:
boombox.pwn(128) : warning 202: number of arguments does not match definition
boombox.pwn(128) : warning 202: number of arguments does not match definition
boombox.pwn(129) : warning 204: symbol is assigned a value that is never used: "BBLabel"
Reply
#2

try change to this

Код:
new world = GetPlayerVirtualWorld(playerid);
BBLabel = CreateDynamic3DTextLabel(string, COLOR_WHITE, x, y, z+0.6, 5.0, world);//BBLabel
Reply
#3

format(string, sizeof(string), "COL_LIME"Boombox Owner: %s\n"COL_RED"/setboombox\n"COL_WHITE"Type /placeboombox again to destroy it.", GetPlayerName(playerid)); //Number of Arguements

I dont think you can put COL_LIME there...... You might have to put like
SendClientMessage(......);

PS - Im Learning i aint pro :P sorry
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)