پرش به مطلب اصلی

GetPlayerWeather

هشدار

This function was added in omp v1.1.0.2612 and will not work in earlier versions!

توضیحات

هوای بازیکن رو دریافت می‌کنه.

نامتوضیحات
playeridID بازیکنی که می‌خوای هوا رو ازش دریافت کنی.

مقادیر برگشتی

هوای بازیکن رو برمی‌گردونه.

مثال‌ها

SetPlayerWeather(playerid, 8);

printf("Player weather: %d", GetPlayerWeather(playerid));
// The output will be 'Player weather: 8'

توابع مرتبط

منابع مرتبط