Jump to content

The big CTRL+V topic.


Aeron

Recommended Posts

  • 2 weeks later...
  • Replies 658
  • Created
  • Last Reply

Top Posters In This Topic

  • 1 month later...

ID:

User:

Email:

Address:

City:

State/Province:

Country:

Last Used IP:

Account Created:

Account Last Modified:

Account Last Online:

ID:

User:

Email:

Address:

City:

State/Province:

Country:

Last Used IP:

Account Created:

Account Last Modified:

Account Last Online:

<?

$_q = $_sql->query('SELECT * FROM accounts');

while($a = $_q->fetch_object())

echo "

{$a->id}

{$a->user}

{$a->email}

{$a->address}

{$a->city}

{$a->state}

{$a->country}

{$a->ip}

{$a->created}

{$a->modified}

{$a->laston}

";

$_q->free_result();

?>

Link to post
  • 2 weeks later...

why its not working

function makePed()

ped1 = createPed(107, 2490.5, -1651.5, 13.5)

setPedRotation(ped1, 90.0041198)

setPedAnimation( ped1, "ped", "SHP_Tray_Return")

end

addEventHandler("onResourcesStart", getRootElement(), makePed)

Link to post

function elevator (player, cmd, x1, x2, x3, col1, col2, col3, alpha, size )

local x, y, z = getElementPosition (player)

if x1 and x2 and x3 and col1 and col2 and col3 and alpha and size then

local newV = x2 + 2

local yzz = y + 2

px, py, pz = x1, newV, x3

tx, ty, tz = x, yzz, z

marker1 = createMarker ( x, y, z + 1, "arrow",2, col1, col2, col3, alpha )

marker2 = createMarker ( tonumber(x1), tonumber(x2), tonumber(x3) + 1, "arrow", size, col1, col2, col3, alpha )

else

outputChatBox ("[invalid Syntax]: /addelevator [x], [y], [z], [Col1], [Col2], [Col3], [Alpha], ", player, 255, 0, 0 )

end

end

addCommandHandler("addelevator", elevator )

addEventHandler("onMarkerHit", root,

function(hitPlayer)

if isElement(marker1) and (source = marker1) then

if (getElementType(hitPlayer) = "player") then

setElementPosition(hitPlayer, px, py, pz)

fadeCamera ( hitPlayer, false, 0.1, 255, 0, 0 )

setTimer ( fadeCamera, 500, 1, hitPlayer , true, 0.5 )

end

end

end

)

addEventHandler("onMarkerHit", root,

function(hitPlayer)

if isElement(marker2) and (source = marker2) then

if (getElementType(hitPlayer) = "player") then

setElementPosition(hitPlayer, tx, ty, tz)

fadeCamera ( hitPlayer, false, 0.1, 255, 0, 0 )

setTimer ( fadeCamera, 500, 1, hitPlayer , true, 0.5 )

end

end

end

)

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.


×
×
  • Create New...