Hi creators.
I have one such request. He would add public in style OnPlayerOpenChatBox? I think it would be a lot of cases the use of this Public. ----------------------------------------------------------------------------------------------------------------- Sorry for my english, i'm from Czech Republic |
Better would be:
Deleting OnPlayerText, add: OnPlayerChat public OnPlayerChat(playerid, state[0 = close, 1 = opened], text[], success); state = state of the chatbox (opened or closed) text[] = text which gets send success = if the text got send (or 0 = not send) |
//PLAYERS IsPlayerCollidingObject(playerid, objectid) IsPlayerCollidingObjectOnFoot(playerid, objectid) IsPlayerFiring(playerid) SetPlayerVisiblity(playerid, bool:visible) AttachPlayerToVehicleAsTurret(playerid, vehicleid, Float:fX, Float:fY, Float:fZ, seat, Float:angle, weaponid) DetachPlayerFromVehicle(playerid) IsPlayerInWater(playerid) AttachPlayerToObjectAsTurret(playerid, objectid, Float:fX, Float:fY, Float:fZ, seat, Float:angle, weaponid) IsPlayerDamagedByVehicle(playerid, vehicleid) IsPlayerCollidingVehicle(playerid, vehicleid) MakePlayerShootAtCoords(playerid, Float:x, Float:y, Float:z, time) GetPlayerSpeed(playerid, &Float:speed) IsPlayerInAir(playerid) GetPlayerHeightAboveGround(playerid, &Float:height) IsPlayerStuckUnderVehicle(playerid) IsPlayerCollidingPlayer(playerid, collideplayerid) SetPlayerSwimSpeed(playerid, Float:speed) DisplayPlayerHud(playerid, bool:display) DisplayPlayerRadar(playerid, bool:display) EnablePlayerNightVision(playerid, bool:enable) EnablePlayerThermalVision(playerid, bool:enable) SetPlayerDarknessEffect(playerid, bool:set, value) //OBJECTS IsObjectOnPlayerScreen(objectid, playerid) SetObjectCollision(objectid, bool:enable) SetObjectDynamic(objectid, set) IsPlayerAimingObject(playerid, objectid) HasObjectBeenPhotographed(objectid) SetObjectScale(objectid, Float:scale) //VEHICLES SetCarDrivingStyle(vehicleid, style) IsCarStuckOnRoof(vehicleid) SetVehicleWeight(vehicleid, Float:weight) IsVehicleUpsideDown(vehicleid) SetVehicleTaxiLights(vehicleid, bool:enable) IsVehicleInWater(vehicleid) IsVehicleOnScreen(vehicleid, forplayerid) SetVehicleVisible(vehicleid, bool:enable) IsVehicleStuck(vehicleid) DisableUpsidedDownVehicleExplosion(vehicleid, bool:enable) GetVehicleDriver(vehicleid, &driverid) SetVehicleHandling(vehicleid, Float:handling) SetVehicleRadioStation(vehicleid, radioid) GetVehicleRadioStation(vehicleid) ToggleVehicleControllable(vehicleid, bool:freeze) GetVehicleMass(vehicleid, &Float:mass) IsVehicleDamagedByPlayer(vehiceid, playerid) SetVehicleQuaternion(vehicleid, Float:X, Float:Y, Float:Z) //Other stuff CreateSearchlight(Float:x, Float:y, Float:z, Float:endx, Float:endy, Float:endz, Float:radius, Float:endradius) DestroySearchlight(searchlightid) PointSearchlightAtVehicle(searchlightid, vehicleid, Float:movespeed) IsVehicleInSearchlight(searchlightid, vehicleid) GetPlayerSearchlightID(playerid)
How could they MISSED this two important functions?
SetObjectVirtualWorld and SetObjectInterior |
Because you could use streamer where you can define in what interior/virtual world is your object?
|
Because you could use streamer where you can define in what interior/virtual world is your object?
|
What if I created an object in world 5 and want to set it to 0? I ain't gonna destroy it and re-create it. More works to do.
|
Hi. I have a simple suggestion here. As some may know, you can adjust the size of the chatbox/textbox with /pagesize. I think we should be able to do this with the kill-list. Something like this: [spoiler][/spoiler] COMMANDS /killlistsize (6-12) OR /killlist size (6-12) ADVANTAGES Can maybe help DM reports or something alike. People can use it for ''rolling'' screenshots DISADVANTAGES Comment if you have one. |
What I'd actually love to see is something like:
GetPlayerCount(); Which can also store a variable so like... GetPlayerCount(count); |
GetPlayerCount()
{
for(new i; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
count++;
}
return 1;
}
Iter_Count(Player);
What I'd actually love to see is something like:
GetPlayerCount(); Which can also store a variable so like... GetPlayerCount(count); |
GetPlayerCount(&count = 0)
{
for (new i = 0, j = MAX_PLAYERS; i != j; ++ i)
{
if (IsPlayerConnected(i))
++ count;
}
return count;
}
pawn Код:
|
A minor question, isn't declaring a new variable, assigning it, simply slowing down the loop?
|