C:\\Users\\*\\Desktop\\Új\\gamemodes\\modom.pwn(300) : warning 215: expression has no effect
C:\\Users\\*\\Desktop\\Új\\gamemodes\\modom.pwn(305) : warning 215: expression has no effect
C:\\Users\\*\\Desktop\\Új\\gamemodes\\modom.pwn(309) : warning 217: loose indentation
C:\\Users\\*\\Desktop\\Új\\gamemodes\\modom.pwn(320) : warning 215: expression has no effect
C:\\Users\\*\\Desktop\\Új\\gamemodes\\modom.pwn(333) : warning 215: expression has no effect
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
5 Warnings.
[/quote]
Maga a pawno code:
//OOC chat
CMD:b(playerid, params[])
{
new sendername[MAX_PLAYER_NAME], string[56];
GetPlayerName(playerid, sendername, sizeof(sendername));
if(isnull(params)) return SendClientMessage(playerid, 0xFFFFFFF,\"Használat: /b [szöveg]\");
format(string, sizeof(string), \"(( %s OOC: %s ))\", sendername, params);
SendClientMessageToAll(0xFFFFFFF, string);
return 1;
}
//Próba
CMD:proba(playerid, params[])
{
new TRY[128], S[128+1];
if(sscanf(params, \"s[128]\", TRY)) return SendClientMessage(playerid, PIROS, \"Használat: /próba < Próbálkozás >\");
switch(random(2))
{
case 0:
{
format(S, sizeof(S), \"* %s megpróbál(ja) %s, és sikerül neki!\", Nev(playerid), TRY);
ProxDetector( 10.0, playerid, S, CITROM, CITROM, CITROM, CITROM, CITROM);
}
case 1:
{
format(S, sizeof(S), \" %s megpróbál(ja) %s, de nem sikerül neki!\", Nev(playerid), TRY);
ProxDetector( 10.0, playerid, S, CITROM, CITROM, CITROM, CITROM, CITROM);
}
}
return 1;
}
// Do parancs
CMD:do(playerid, params[])
{
new S[100], S2[128];
if(sscanf(params, \"s[100]\", S)) return SendClientMessage(playerid, PIROS, \"Használat: /do < Esemény >\");
format(S2, sizeof(S2), \"* %s (( %s ))\", S, Nev(playerid));
ProxDetector(8.0, playerid, S2, CITROM, CITROM, CITROM, CITROM, CITROM);
return 1;
}
// Me parancs
CMD:me(playerid, params[])
{
new S[100], S2[128];
if(sscanf(params, \"s[100]\", S)) return SendClientMessage(playerid, PIROS, \"Használat: /me < Cselekvés >\");
format(S2, sizeof(S2), \"* %s %s\", Nev(playerid), S);
ProxDetector(8.0, playerid, S2, LILA, LILA, LILA, LILA, LILA);
SetPlayerChatBubble(playerid, S2, LILA, 15.0, 1500);
return 1;
}
Vajon mi lehet a hiba