bool result = addExplosion(float atX, float atY, float atZ, int radius)
Вызывает эффект взрыва на экране.
float atX, float atY, float atZКоординаты взрыва
int radius Радиус взрыва
bool result Результат
function main() while not isSampAvailable() do wait(100) end sampRegisterChatCommand("test",function() positionX, positionY, positionZ = getCharCoordinates(PLAYER_PED) addExplosion(positionX, positionY, positionZ, 35) end) wait(-1) end