-
Notifications
You must be signed in to change notification settings - Fork 1
Player
AroliSG edited this page May 23, 2021
·
19 revisions
constructor
Player: player
- player.sendStream (Stream);
- player.getName ();
- player.setName (String);
- player.getState ();
- player.getWeaponAtSlot (Integer);
- player.isStreamedForPlayer (Instance);
- player.setSecondaryWorld (Integer);
- player.setCameraPosition (float fPosX, float fPosY, float fPosZ, float fLookX, float fLookY, float fLookZ);
- player.getStandingOnObject ();
- player.removeFromVehicle ();
- player.setSpectateTarget (instance);
- player.isCompatibleWithWorld (Integer);
- player.getSpectateTarget ();
- player.requestModuleList ();
- player.getInVehicleStatus ();
- player.getSecondaryWorld ();
- player.getStandingOnVehicle ();
- player.isAdmin ();
- player.getIP ();
- player.setAdmin (Integer);
- player.kick ();
- player.ban ();
- player.isSpawned ();
- player.getUniqueId ();
- player.setSkin (Integer);
- player.setWorld (Integer);
- player.setScore (Integer);
- player.isTyping ();
- player.setWeaponSlot (Integer);
- player.setMoney (Integer);
- player.getWeaponSlot ();
- player.getWorld ();
- player.forceSpawn ();
- player.forceSelect ();
- player.setHealth (Integer);
- player.getArmour ();
- player.getImmunities ();
- player.getHeading ();
- player.getAlpha ();
- player.setTeam (Integer);
- player.getInVehicleSlot ();
- player.setOption (constant, toggle);
You can use this with the constants console.log(VCMP.Player.Option);
-
showing player on radar
player.setOption(VCMP.Player.Option.ShowMarkers, true); -
removing player on radar
player.setOption(VCMP.Player.Option.ShowMarkers, false);
-
- player.getHealth ();
- player.setWeapon (weaponid, Integer);
- player.giveMoney (Integer);
- player.getUniqueWorld ();
- player.getMoney ();
- player.setPosition (Pos x, Pos y, Pos z);
- player.putInVehicle (Integer vehicleid, Integer slot, Boolean room, Boolean warp);
- player.getSkin ();
- player.setArmour (Integer);
- player.addSpeed (Pos x, Pos y, Pos z);
- player.setHeading (Integer heading);
- player.getAimPosition ();
- player.getFPS ();
- player.getImmunityFlags ();
- player.getScore ();
- player.getUID ();
- player.setImmunityFlags (Flags);
- player.getColour ("RGB"); // rgb
- player.getColour (); // hexadecimal
- player.getPosition ();
- player.getGameKeys ();
- player.getOption ( arg0 );
- player.giveWeapon (weaponid, Integer);
- player.getWeapon ();
- player.setImmunities (Integer);
- player.setAlpha (Integer alpha, Integer fade);
- player.setSpeed (Pos x, Pos y, Pos z);
- player.getWeaponAmmo ();
- player.getAction ();
- player.getAimDirection ();
- player.setColour (args);
How to add colour?
- player.setColour({r:54, g:215, b:150}); //rgb format
- player.setColour(0xFF0FF1CE); //hexadecimal format
- player.getTeam ();
- player.getPing ();
- player.getUID2 ();
- player.getSpeed ();
- player.isOnFire ();
- player.isCrouching ();
- player.getVehicle ();
- player.getWantedLevel ();
- player.getPlayerClass ();
- player.getAmmoAtSlot (Integer);
- player.restoreCamera ();
- player.isAway ();
- player.setAnimation (Integer group, Integer anim);
- player.redirectToServer (Ip, Port, Nickname, Serverpass, Userpass);
- player.setDrunkVisuals (Integer);
- player.isCameraLocked ();
- player.setWantedLevel (Integer);
- player.removeAllWeapons ();
- player.getDrunkVisuals ();
- player.removeWeapon (Integer);
- player.getId ();
- player.isValid ();
- player.data.key = "data"; (to add new key)
- player.data.key (to access)
player.getDrunkHandling ();
player.setDrunkHandling (Integer level);