Hi there guys,
Well I'm trying to get this effect to last longer and I want to understand all the three parts of this function, so i can customize to my needs. The script is below, please tell me what I should know.
PHP Code:
else {
new player = cmd_target(id, target,31)
new gmsgShake = get_user_msgid("ScreenShake")
if(is_user_alive(player)){
message_begin(MSG_ONE, gmsgShake, {0,0,0}, player)
write_short(255<< 14 ) //ammount
write_short(10 << 14) //lasts this long
write_short(255<< 14) //frequency
message_end()
}
}
*As side notes, I did search, Google and this site, but I couldn't find exactly a solution, I played around with those numbers and they stopped working well at least when used on specific player.