Pomoc

Započeo Aezakmi, Oktobar 05, 2021, 15:05:13 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Problem(error/warning): Ic chat in game ne radi a nema ni jednog errora :o
Dio skripte: [ pawn ]public OnPlayerText(playerid, text[])
{
   new str[256], pName[MAX_PLAYER_NAME + 1];
   GetPlayerName(playerid, pName, sizeof(pName));
   format(str, sizeof(str), "{0066FF}%s {FFFFFF}kaze: %s", pName, text);
   SendMes(20.0, playerid, COLOR_RED, str);
   return 0;
}[ /pawn ]
[pawn]stock SendMes(Float:Radius, playerid, color, const str[])
{
   new Float:PosX, Float:PosY, Float:PosZ;
   GetPlayerPos(playerid, PosX, PosY, PosZ);
   foreach(Player, i)
   {
      if(IsPlayerInRangeOfPoint(i, Radius, PosX, PosY, PosZ))
      {
          SCM(1, color, str);
      }
   }
   return false;
}[/pawn]
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): //
Slika/video ingame problema(obavezno ako je ingame problem): //
Poslednja Izmena: Oktobar 05, 2021, 15:42:09 POSLE PODNE od M Ө M Σ N Z I

[pawn]public OnPlayerText(playerid, text[])
{
   new str[256], pName[MAX_PLAYER_NAME + 1];
   GetPlayerName(playerid, pName, sizeof(pName));
   format(str, sizeof(str), "{0066FF}%s {FFFFFF}kaze: %s", pName, text);
   SendMes(20.0, playerid, COLOR_RED, str);
   return 0;
}[/pawn]

[pawn]
stock SendMes(Float:Radius, playerid, color, const str[])
{
new Float:PosX, Float:PosY, Float:PosZ;
GetPlayerPos(playerid, PosX, PosY, PosZ);
foreach(Player, i)
{
if(IsPlayerInRangeOfPoint(i, Radius, PosX, PosY, PosZ))
{
    SCM(i, color, str);
}
}
return false;
}
[/pawn]eto
https://discord.io/westmont
Westmont Roleplay — A continuation of the San Andreas singleplayer storymode.
SA-MP 0.3.DL gamemode with custom models.