SA-MP Forums Archive
help - 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 (/showthread.php?tid=225314)



help - omer5198 - 13.02.2011

when i go in game and go to the place where it should be... there is nothing there... i mean it works, when i step on the dot it open the dialog but the checkpoint is invisible... help
pawn Код:
new bank;
pawn Код:
public OnGameModeInit()
{
    bank = CreateDynamicCP(2154.0220,1645.2579,9932.2305, 3.0, -1, -1, -1);
    return 1;
}
public OnPlayerEnterDynamicCP(playerid, checkpointid)
{
if(checkpointid == bank)
{
ShowPlayerDialog(playerid,3,DIALOG_STYLE_LIST,"Ban k","Deposit\r\nWithdraw\r\nBalance","Confirm", "Cancel");
return 1;
}
return 1;
}
[/pawn]


Re: help - XoX - 13.02.2011

Код:
bank = CreateDynamicCP(2154.0220,1645.2579,9932.2305, 3.0, -1, -1, -1, 100.0);



Re: help - omer5198 - 13.02.2011

Quote:
Originally Posted by XoX
Посмотреть сообщение
Код:
bank = CreateDynamicCP(2154.0220,1645.2579,9932.2305, 3.0, -1, -1, -1, 100.0);
1)what is the 100.0?
2) still it doesn't work!!! invisible!


AW: help - XoX - 13.02.2011

Where is your Checkpoint? You may have to change the interior id
btw
Код:
CreateDynamicCP(Float:x, Float:y, Float:z, Float:size, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 100.0);



Re: AW: help - antonio112 - 13.02.2011

Quote:
Originally Posted by XoX
Посмотреть сообщение
Where is your Checkpoint? You may have to change the interior id
btw
Код:
CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 200.0);
What the are those 'rx', 'ry' and 'rz' ? Sorry for bumping into the thread 'uninvited'.


Re: AW: help - omer5198 - 13.02.2011

Quote:
Originally Posted by antonio112
Посмотреть сообщение
What the are those 'rx', 'ry' and 'rz' ? Sorry for bumping into the thread 'uninvited'.
rx = Rotation - X
and.... same with y and z
and my cords are(well i saved it here.. /save...)
Код:
AddPlayerClass(1,2154.0220,1645.2579,9932.2305,178.2883,0,0,0,0,0,0);



AW: help - XoX - 13.02.2011

There's no rx etc i added the wrong native SORRY!^^
btw the coord you gave me is in sky.


Re: AW: help - omer5198 - 13.02.2011

Quote:
Originally Posted by XoX
Посмотреть сообщение
Where is your Checkpoint? You may have to change the interior id
btw
Код:
CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 200.0);
and my cords are(well i saved it here.. /save...)
Код:
AddPlayerClass(1,2154.0220,1645.2579,9932.2305,178.2883,0,0,0,0,0,0);
plz help!


Re: help - omer5198 - 13.02.2011

anyone?


Re: help - omer5198 - 13.02.2011

come on! nobody knows?