Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class HoloHead{
- public $playerHolo = array(
- '1' => array(
- 'type' => 'player',
- 'title' => '1 - Test Player',
- 'lines' => 2,
- 'stayTime' => 5,
- 'updateIn' => 3600,
- 'error' => 0,
- 'holoId' => 4,
- 'sortId' => 4,
- ),
- '2' => array(
- 'type' => 'player',
- 'title' => '2 - Test Player',
- 'lines' => 2,
- 'stayTime' => 5,
- 'updateIn' => 3600,
- 'error' => 0,
- 'holoId' => 5,
- 'sortId' => 5,
- ),
- '3' => array(
- 'type' => 'player',
- 'title' => '3 - Test Player',
- 'lines' => 2,
- 'stayTime' => 5,
- 'updateIn' => 3600,
- 'error' => 0,
- 'holoId' => 6,
- 'sortId' => 6,
- ),
- );
- public function index($response, $gamemode){
- $playerHolo = $this->playerHolo;
- if($gamemode === 'playerHolo'){
- var_dump(array_push($playerHolo, 'player' => 'UsernameHere')); //invalid syntax (the =>)
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement