Search results
Jump to navigation
Jump to search
- local checkedPlayer = getPlayerFromNick ( checkedPlayerName ) -- if it exists,2 KB (204 words) - 11:48, 26 June 2014
- ...mple finds what seat the player called 'someguy' is sitting in and outputs it to the chat box. thePlayer = getPlayerFromNick ( "someguy" )1 KB (128 words) - 16:13, 13 February 2015
- local bannedPlayer = getPlayerFromNick ( bannedName ) -- Get the ID from the player who gets banned if getElementType ( bannedPlayer ) == "player" then -- If it's a player2 KB (204 words) - 15:20, 6 August 2016
- ...a weapon, it will still return the ID of that weapon in the slot (even if it appears as if the player does not have a weapon at all), though [[getPlayer ...verside example will display a player's current weapon type. In this case, it is hard coded to use the player called ''someguy''.2 KB (297 words) - 11:25, 26 June 2014
- '''Attention:''' Do not use this function to spawn a [[player]]. It will cause problems with other functions like [[warpPedIntoVehicle]]. <br> ...If the player being warped to is in a vehicle with a free passenger seat, it will warp into the vehicle.5 KB (579 words) - 16:20, 17 April 2016
- local sPlayerElement = getPlayerFromNick(thePlayer) --append the tag passed to this function before it2 KB (298 words) - 12:31, 26 June 2014
- myPlayer = getPlayerFromNick ( "Someguy" ) -- Retrieve the total amount of ammo for that player, and store it in a variable called 'ammo'2 KB (221 words) - 16:27, 13 February 2015
- {{Warning|Do not use this function to spawn a [[player]]. It will cause problems with other functions like [[warpPedIntoVehicle]]. Use [ ...If the player being warped to is in a vehicle with a free passenger seat, it will warp into the vehicle.5 KB (677 words) - 21:23, 8 December 2018
- ...If the player being warped to is in a vehicle with a free passenger seat, it will warp into the vehicle. local player2 = getPlayerFromNick ( player2nick )5 KB (635 words) - 02:48, 9 December 2012
- local player2 = getPlayerFromNick ( player2nick ) -- Make sure it exists!6 KB (510 words) - 23:46, 5 January 2017