Scripting/Squirrel/Functions/CreatePickup

From Vice City Multiplayer
Revision as of 07:11, 25 July 2014 by Mariu22S (talk | contribs) (This command creates a pickup on Player Pos)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Caution icon
This wiki is using an old backup from 2020
Some information may be old/missing
 	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 ); }