SA-MP Forums Archive
fix this stock - 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: fix this stock (/showthread.php?tid=441298)



fix this stock - RyanPetersons - 02.06.2013

pawn Код:
stock GetOrgLabel(playerid)
{
OrgsCount++;
new id = OrgsCount;
for(new i = 1; i < OrgsCount+1; i++)
{
new string[140];
format(string,sizeof(string),"%s", GetOrgName(i));
Organization[id][OrgLabel] = Create3DTextLabel(string, 0x008080FF, Organization[id][X], Organization[id][Y], Organization[id][Z], 25.0, 0);
}
return 1;
}
I've added this stock under the callback of Jakkus CreateOrganization
its all ok
but no errors no warnings
just fix it.


Re: fix this stock - doreto - 02.06.2013

Quote:

but no errors no warnings

Then what is the problem ?


Re: fix this stock - RyanPetersons - 02.06.2013

doesnt creates 3d text label.