How Can I Create3DTextLabel When i have this
#5

You can do it in an array and then you work with a loop.
Like this:
PHP код:
//under the includes
new Float:ATMPos[][] =
{
    {
2065.439453125, -1897.551025390613.19670009613},
    {
1497.7467041016, -1749.874755859415.088212013245},
    {
2093.5124511719, -1359.547485351623.62727355957},
    {
1155.6235351563, -1464.914184570315.44321346283},
    {
2139.4487304688, -1164.081176757823.63508605957},
    {
1482.7761230469, -1010.335388183626.48664855957},
    {
1482.7761230469, -1010.335388183626.48664855957},
    {
387.16552734375, -1816.05126953137.4834146499634},
    {-
24.385023117065, -92.0010757446291003.1897583008},
    {-
31.811220169067, -58.1060180664061003.1897583008},
    {
1212.77856445312.4517626762391000.5647583008},
    {
2324.4028320313, -1644.944580078114.469946861267},
    {
2228.39, -1707.7813.25},
    {
651.19305419922, -520.4881591796915.978837013245},
    {
45.78035736084, -291.809265136721.5024013519287},
    {
1275.7958984375368.3148193359419.19758605957},
    {
2303.4577636719, -13.53955459594726.12727355957},
    {
294.80, -84.011001.0},
    {
691.08215332031, -618.562515.978837013245},
    {
173.23471069336, -155.076065063481.2210245132446},
    {
1260.8796386719209.3015289306619.19758605957},
    {
2316.1015625, -88.52256774902326.12727355957},
    {
1311.0361,-1446.2249,0.2216},
    {
2052.9246, -1660.634613.1300},
    {-
1980.6300,121.5300,27.3100},
    {-
2453.7600,754.8200,34.8000},
    {-
2678.6201,-283.3400,6.8000},
    {
519.8157,-2890.8601,4.4609},
    {
2565.6674801406.8393557699.584472},
    {
3265.30004883, -631.900024418423.90039062},
    {
1829.50001391.00001464.0000},
    {
1755.80001434.10002013.4000},
    {-
665.975341, -4033.33471620.779014},
    {-
1619.9645996094,713.6753540039119995.501953125},
    {
883.71701442.4282, -82.3370},
    {
2926.9199, -1529.980010.6900}
};
//e.g. in OnGameModeInit:
for(new i,j=sizeof(ATMPos);i<j;i++)
{
    
Create3DTextLabel("Here is an ATM",-1,ATMPos[i][0],ATMPos[i][1],ATMPos[i][2],10.0,0,0);

Reply


Messages In This Thread
How Can I Create3DTextLabel When i have this - by TYDS - 14.10.2016, 03:01
Re: How Can I Create3DTextLabel When i have this - by TYDS - 14.10.2016, 03:32
Re: How Can I Create3DTextLabel When i have this - by X337 - 14.10.2016, 04:13
Re: How Can I Create3DTextLabel When i have this - by TYDS - 14.10.2016, 04:37
Re: How Can I Create3DTextLabel When i have this - by Mencent - 14.10.2016, 06:56
Re: How Can I Create3DTextLabel When i have this - by TYDS - 14.10.2016, 11:44

Forum Jump:


Users browsing this thread: 1 Guest(s)