Szerző Téma: Parancs hiba  (Megtekintve 548 alkalommal)

herban

  • Vendég
Parancs hiba
« Dátum: 2011. május 14. - 20:44:09 »
0 Show voters
Üdv.
Azt szeretném megkérdezni, mi a hiba mert nem mükõdik valamiért

if (strcmp(cmdtext, \"/vinfo\", true)==0)
{
 new tmp[256];
tmp = strtok(cmdtext, idx);
 
   
if(!strlen(tmp)) {
   SendClientMessage(playerid, COLOR_WHITE, \"HASZNÁLAT:  {F3FF02}/vinfo [iD]\");
   return 1;
}
giveplayerid = strval(tmp);
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) {
      SendClientMessage(playerid, COLOR_WHITE, \"HASZNÁLAT:  {F3FF02}/vinfo [iD]\");
   return 1;
}
new P1[4];
 
if(PlayerInfo[giveplayerid][speedHax] == 1) P1 = \"Van\"; else P1 = \"Nem\";
return 0;

}
 
 
 

Parancs hiba
« Válasz #1 Dátum: 2011. május 15. - 23:17:53 »
0 Show voters
Pawno error/warning :question:

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal