SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 14/01/2013, 12:34 AM   #1
teomakedonija
Banned
 
Join Date: Nov 2011
Posts: 405
Reputation: -46
Default Bizz Help [REP ++]

Hi Scripterzz.I need help with Labels for Business t.e bizz and sbizz.I have one script for bizz,sbizz and house but now for house all working pickups and labels but in bizz and sbizz label's don't showing ? Why ? I don't know please help me ! Tommorow i opening server but please help me ! Please ! [ REP ++ ] My Script.

pawn Code:
new Text3D:BizzLabel[sizeof(BizzInfo)];
new BizzPickup[sizeof(BizzInfo)];

pawn Code:
for(new b = 0; b < sizeof(BizzInfo); b++)
    {
            if(BizzInfo[b][bOwned] == 0)
            {
                format(PropertyString,sizeof(PropertyString),""#COL_WHITE"[%s]\n"#COL_SVPLAVA"Biznisot e na prodazba.\n "COL_SVPLAVA"Level: "#COL_WHITE"%d "#COL_SVPLAVA"| Cena: "#COL_WHITE"$%d\n "#COL_SVPLAVA"Za kupuvanje koristi "#COL_WHITE"/kupibiznis",BizzInfo[b][bMessage],BizzInfo[b][bLevelNeeded],BizzInfo[b][bBuyPrice]);
                BizzLabel[b] = Create3DTextLabel(PropertyString ,0x33CCFFAA ,BizzInfo[b][bEntranceX], BizzInfo[b][bEntranceY], BizzInfo[b][bEntranceZ]+0.5,20, 0, 0);
                BizzPickup[b] = CreatePickup(1272,1,BizzInfo[b][bEntranceX], BizzInfo[b][bEntranceY], BizzInfo[b][bEntranceZ]);

            }
            else if(BizzInfo[b][bOwned] == 1)
            {
                format(PropertyString,sizeof(PropertyString),"[%s]\n {00C0FF}Gazda: "#COL_WHITE"%s , {00C0FF}Reket: {FFFFFF}%s\n {00C0FF}Level: {FFFFFF}%d\n {00C0FF}Za vlez koristi: {FFFFFF}/enter.",BizzInfo[b][bMessage],BizzInfo[b][bOwner], BizzInfo[b][bExtortion], BizzInfo[b][bLevelNeeded]);
                BizzLabel[b] = Create3DTextLabel(PropertyString ,0x33CCFFAA,BizzInfo[b][bEntranceX], BizzInfo[b][bEntranceY], BizzInfo[b][bEntranceZ]+0.5,20, 0, 0);
                BizzPickup[b] = CreatePickup(1239, 1, BizzInfo[b][bEntranceX], BizzInfo[b][bEntranceY], BizzInfo[b][bEntranceZ]);
            }
    }

pawn Code:
else if(update == 2)
    {
        if(BizzInfo[id][bOwned] == 0)
        {
            Delete3DTextLabel(BizzLabel[id]);
            format(PropertyString,sizeof(PropertyString),""#COL_WHITE"[%s]\n"#COL_SVPLAVA"Biznis na prodazba.\n "#COL_SVPLAVA"Level: "#COL_WHITE"%d "#COL_SVPLAVA"| Cena: "#COL_WHITE"$%d\n "#COL_SVPLAVA"Da kupite: "#COL_WHITE"/kupibiznis",BizzInfo[id][bMessage], BizzInfo[id][bLevelNeeded], BizzInfo[id][bBuyPrice]);
            BizzLabel[id] = Create3DTextLabel(PropertyString ,0x33CCFFAA,BizzInfo[id][bEntranceX], BizzInfo[id][bEntranceY], BizzInfo[id][bEntranceZ]+0.5,20, 0, 1);
        }
        else if(BizzInfo[id][bOwned] == 1)
        {
            Delete3DTextLabel(BizzLabel[id]);
            format(PropertyString,sizeof(PropertyString),"[%s]\n {00C0FF}Vlasnik: "#COL_WHITE"%s , {00C0FF}Reket: {FFFFFF}%s\n {00C0FF}Level: {FFFFFF}%d\n {00C0FF}Ulaz: {FFFFFF}/enter.",BizzInfo[id][bMessage],BizzInfo[id][bOwner], BizzInfo[id][bExtortion], BizzInfo[id][bLevelNeeded]);
            BizzLabel[id] = Create3DTextLabel(PropertyString ,0x33CCFFAA,BizzInfo[id][bEntranceX], BizzInfo[id][bEntranceY], BizzInfo[id][bEntranceZ]+0.5,20, 0, 1);
        }
    }

That is the script Please REP !!
teomakedonija is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
help with the bizz.cfg IsraelRPP Scripting Help 4 12/06/2012 10:00 AM
A little help for bizz luis_mendoza Help Archive 17 09/08/2011 11:04 AM
i need help GTA:RP BIZZ gupey1984 Help Archive 2 07/05/2010 11:23 AM


All times are GMT. The time now is 05:41 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.