Problem(error/warning): error 035: argument type mismatch (argument 2)
Dio skripte: [ pawn ]public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
if( isnull(cmdtext))
{
return false;
}
if( !success)
{
SendClientMessage(playerid, "Ta komanda ne postoji ili moras cekati 2 sekunde!"); // OVA LINIJA OVDJE
return true;
}
return true;
}[ /pawn ]
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): [ code ]//[ /code ]
Slika/video ingame problema(obavezno ako je ingame problem): **
Taj linija:
SendClientMessage(playerid, "Ta komanda ne postoji ili moras cekati 2 sekunde!");
Obrazac za tu liniju:
SendClientMessage(playerid, color, "text");
Ti si zaboravio sa stavis boju:
-1 ti je za belu boju, ti mozes da stavis CRVENA, BELA, SIVA,.... nzm kako su ti definisane boje.
SendClientMessage(playerid, -1, "Ta komanda ne postoji ili moras cekati 2 sekunde!");
Hvala zaboravio sam na boju xd