Szerző Téma: 2 warning possibly unintended assignment  (Megtekintve 1622 alkalommal)

Nem elérhető instant

  • 2778
  • ZzzzzZ
    • Profil megtekintése
2 warning possibly unintended assignment
« Dátum: 2012. Március 23. - 21:33:51 »
0 Show voters
Üdv, 2 darab warningba estem bele ,
Warningok:
 
C:\\Documents and Settings\\X\\Dokumentumok\\RVC.pwn(564) : warning 211: possibly unintended assignment
C:\\Documents and Settings\\X\\Dokumentumok\\RVC.pwn(574) : warning 211: possibly unintended assignment
Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase
 
2 Warnings.

 
Sorok:
564:
 
if(gTeam[playerid] = TEAM_RENDOR) return SendClientMessage(playerid,COLOR_ULTRARED,\"Te nem vagy Rendõr!\");

 
574:
 
if(gTeam[playerid] = TEAM_RENDOR)return SendClientMessage(playerid, COLOR_ULTRARED,\"Te nem vagy Rendõr!\");

 
Elõre köszi a helpet

Nem elérhető Gabor..

  • 1883
  • Gabor..
    • Profil megtekintése
2 warning possibly unintended assignment
« Válasz #1 Dátum: 2012. Március 23. - 21:57:09 »
+4 Show voters
564:
if(gTeam[playerid] == TEAM_RENDOR) return SendClientMessage(playerid,COLOR_ULTRARED,\"Te nem vagy Rendõr!\");

 
574:
if(gTeam[playerid] == TEAM_RENDOR) return SendClientMessage(playerid, COLOR_ULTRARED,\"Te nem vagy Rendõr!\");

 Így szerintem jó lesz. :)
« Utoljára szerkesztve: 2012. Március 23. - 22:00:12 írta Gabor.. »

Nem elérhető instant

  • 2778
  • ZzzzzZ
    • Profil megtekintése
2 warning possibly unintended assignment
« Válasz #2 Dátum: 2012. Március 23. - 22:50:23 »
0 Show voters
nem jelez warningot kösz a helpet küldök a +-t

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal