Mentanding 0 Posted June 3 Hey Guys, i have an issue with this function... (https://wiki.rage.mp/index.php?title=Player::call) Code: //Server-Side Script: player.call Test mp.events.add("playerEnterVehicle", (player, vehicle, seat) => { player.call("sendVehicle", [true, vehicle]); console.log('playerEnterVehicle: sendVehicle => ServerSide');//i see this debug in the console 👍 }); //Client-Side Script: player.call Test mp.events.add("sendVehicle", (active, vehicle) => { if (active) { if(vehicle){ console.log('playerEnterVehicle: sendVehicle => ClientSide');// i dont get any information 👎 } } }); i see the ServerSide console debug, but not the ClientSide, why? Can someone help me please? greetings Share this post Link to post Share on other sites
Flow 17 Posted June 3 you don't have console.log in clientside. you would have to code your own log function. try a mp.game.graphics.notify("worked") instead Share this post Link to post Share on other sites
Mentanding 0 Posted June 3 vor 6 Minuten schrieb Flow: you don't have console.log in clientside. you would have to code your own log function. try a mp.game.graphics.notify("worked") instead holy shite is that dump, thanks it worked 😂😂😂👌 Share this post Link to post Share on other sites
n0minal 41 Posted June 9 You can also use javascript alert function to debug stuff on client-side, it will pop-up just like a notification over the player screen. Share this post Link to post Share on other sites