Scripting/Squirrel/Functions/CreatePickup: Difference between revisions

From Vice City Multiplayer
Jump to navigation Jump to search
Caution icon
This wiki is using an old backup from 2020
Some information may be old/missing
(This command creates a pickup on Player Pos)
 
(Blanked the page)
Line 1: Line 1:
  else if ( cmd == "keycard" )
 
{
    if ( player.Name == "Your name" )
    {
            CreatePickup( 508, Vector( ( player.Pos.x + 2 ), player.Pos.y, player.Pos.z + 1 ) );
            ClientMessageToAll( "Admin [ " + player.Name + " ] created KeyCard in the region - " + GetDistrictName( player.Pos.x, player.Pos.y ) , 255, 400, 300  );
    }
else MessagePlayer( "[#ffffff][INFO] [#00ff00]Your are not admin." , player );
}

Revision as of 07:12, 25 July 2014