Quote:
Originally Posted by PawnoQ
thanks you!!
pawn Код:
if(on) { new Float:Position[3]; GetPlayerCameraPos( playerid, Position[0], Position[1], Position[2] /*-----------------------------------------------*/); FallingSnowObject = CreatePlayerObject( playerid, 18864, Position[0], Position[1], Position[2]-5, 0.0, 0.0, 0.0, 300.0 );//but why Position[2]-5 ?? shouldnt it be +5?? as the snow should be created above the player? SendClientMessage(playerid, -1, "[DEBUG] - SnowSettings - Enabled"); }
And where would i make it OFF again? under OnplayerDeath or disconnect?
|
Your choice, I'd suggest on
OnPlayerDisconnect