Código:
if(GetPlayerSpeedEx(playerid) > 1)
return SendClientMessage(playerid, 0xF6F600FF, "Voce precisa estar parado para descarregar");
stock GetPlayerSpeedEx(playerid)
{
static Float: posS[ 3 ] ;
GetPlayerVelocity(playerid , posS [ 0 ] , posS [ 1 ] , posS [ 2 ] ) ;
return floatround(floatmul(floatsqroot(floatadd(floatpower(posS[ 0 ] , 2 ) ,floatpower(posS [ 1 ] , 2 ))), 170.0));
}