13.09.2009, 12:40
Код:
C:\Documents and Settings\Owner\Desktop\LSRP\lsrp.pwn(28459) : warning 211: possibly unintended assignment C:\Documents and Settings\Owner\Desktop\LSRP\lsrp.pwn(28460) : warning 211: possibly unintended assignment C:\Documents and Settings\Owner\Desktop\LSRP\lsrp.pwn(28461) : warning 211: possibly unintended assignment C:\Documents and Settings\Owner\Desktop\LSRP\lsrp.pwn(28462) : warning 211: possibly unintended assignment C:\Documents and Settings\Owner\Desktop\LSRP\lsrp.pwn(28463) : warning 211: possibly unintended assignment C:\Documents and Settings\Owner\Desktop\LSRP\lsrp.pwn(28464) : warning 211: possibly unintended assignment C:\Documents and Settings\Owner\Desktop\LSRP\lsrp.pwn(28465) : warning 211: possibly unintended assignment C:\Documents and Settings\Owner\Desktop\LSRP\lsrp.pwn(28466) : warning 211: possibly unintended assignment C:\Documents and Settings\Owner\Desktop\LSRP\lsrp.pwn(28467) : warning 211: possibly unintended assignment C:\Documents and Settings\Owner\Desktop\LSRP\lsrp.pwn(28468) : warning 211: possibly unintended assignment C:\Documents and Settings\Owner\Desktop\LSRP\lsrp.pwn(28469) : warning 211: possibly unintended assignment C:\Documents and Settings\Owner\Desktop\LSRP\lsrp.pwn(28470) : warning 211: possibly unintended assignment C:\Documents and Settings\Owner\Desktop\LSRP\lsrp.pwn(28471) : warning 211: possibly unintended assignment C:\Documents and Settings\Owner\Desktop\LSRP\lsrp.pwn(28472) : warning 211: possibly unintended assignment C:\Documents and Settings\Owner\Desktop\LSRP\lsrp.pwn(28473) : warning 211: possibly unintended assignment C:\Documents and Settings\Owner\Desktop\LSRP\lsrp.pwn(28474) : warning 211: possibly unintended assignment C:\Documents and Settings\Owner\Desktop\LSRP\lsrp.pwn(28475) : warning 211: possibly unintended assignment C:\Documents and Settings\Owner\Desktop\LSRP\lsrp.pwn(28476) : warning 211: possibly unintended assignment C:\Documents and Settings\Owner\Desktop\LSRP\lsrp.pwn(28477) : warning 211: possibly unintended assignment C:\Documents and Settings\Owner\Desktop\LSRP\lsrp.pwn(28482) : warning 211: possibly unintended assignment C:\Documents and Settings\Owner\Desktop\LSRP\lsrp.pwn(28483) : warning 211: possibly unintended assignment C:\Documents and Settings\Owner\Desktop\LSRP\lsrp.pwn(28484) : warning 211: possibly unintended assignment C:\Documents and Settings\Owner\Desktop\LSRP\lsrp.pwn(28485) : warning 211: possibly unintended assignment C:\Documents and Settings\Owner\Desktop\LSRP\lsrp.pwn(28486) : warning 211: possibly unintended assignment C:\Documents and Settings\Owner\Desktop\LSRP\lsrp.pwn(28487) : warning 211: possibly unintended assignment C:\Documents and Settings\Owner\Desktop\LSRP\lsrp.pwn(28488) : warning 211: possibly unintended assignment C:\Documents and Settings\Owner\Desktop\LSRP\lsrp.pwn(28489) : warning 211: possibly unintended assignment C:\Documents and Settings\Owner\Desktop\LSRP\lsrp.pwn(28490) : warning 211: possibly unintended assignment C:\Documents and Settings\Owner\Desktop\LSRP\lsrp.pwn(28491) : warning 211: possibly unintended assignment C:\Documents and Settings\Owner\Desktop\LSRP\lsrp.pwn(28492) : warning 211: possibly unintended assignment C:\Documents and Settings\Owner\Desktop\LSRP\lsrp.pwn(28493) : warning 211: possibly unintended assignment C:\Documents and Settings\Owner\Desktop\LSRP\lsrp.pwn(28494) : warning 211: possibly unintended assignment Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase Header size: 9148 bytes Code size: 1577256 bytes Data size: 3644952 bytes Stack/heap size: 16384 bytes; estimated max. usage=4982 cells (19928 bytes) Total requirements: 5247740 bytes 32 Warnings.
Код:
if(strcmp(cmd, "/riided", true) == 0) { if(IsPlayerConnected(playerid)) { if(IsAtClothShop(playerid)) { if(PlayerInfo[playerid][pSex] == 1) // Mees riided { if(ChosenSkin[playerid] = 186) { ChosenSkin[playerid] = 186; SetPlayerSkin(playerid, 280); } else if(ChosenSkin[playerid] = 127) { ChosenSkin[playerid] = 127; SetPlayerSkin(playerid, 286); } else if(ChosenSkin[playerid] = 153) { ChosenSkin[playerid] = 153; SetPlayerSkin(playerid, 287); } else if(ChosenSkin[playerid] = 70) { ChosenSkin[playerid] = 70; SetPlayerSkin(playerid, 70); } else if(ChosenSkin[playerid] = 117) { ChosenSkin[playerid] = 117; SetPlayerSkin(playerid, 117); } else if(ChosenSkin[playerid] = 111) { ChosenSkin[playerid] = 111; SetPlayerSkin(playerid, 111); } else if(ChosenSkin[playerid] = 249) { ChosenSkin[playerid] = 249; SetPlayerSkin(playerid, 249); } else if(ChosenSkin[playerid] = 255) { ChosenSkin[playerid] = 255; SetPlayerSkin(playerid, 255); } else if(ChosenSkin[playerid] = 59) { ChosenSkin[playerid] = 59; SetPlayerSkin(playerid, 59); } else if(ChosenSkin[playerid] = 73) { ChosenSkin[playerid] = 73; SetPlayerSkin(playerid, 73); } else if(ChosenSkin[playerid] = 272) { ChosenSkin[playerid] = 272; SetPlayerSkin(playerid, 270); } else if(ChosenSkin[playerid] = 108) { ChosenSkin[playerid] = 108; SetPlayerSkin(playerid, 108); } else if(ChosenSkin[playerid] = 98) { ChosenSkin[playerid] = 98; SetPlayerSkin(playerid, 98); } else if(ChosenSkin[playerid] = 223) { ChosenSkin[playerid] = 223; SetPlayerSkin(playerid, 223); } else if(ChosenSkin[playerid] = 228) { ChosenSkin[playerid] = 228; SetPlayerSkin(playerid, 228); } else if(ChosenSkin[playerid] = 240) { ChosenSkin[playerid] = 240; SetPlayerSkin(playerid, 240); } else if(ChosenSkin[playerid] = 250) { ChosenSkin[playerid] = 250; SetPlayerSkin(playerid, 250); } else if(ChosenSkin[playerid] = 185) { ChosenSkin[playerid] = 185; SetPlayerSkin(playerid, 185); } else if(ChosenSkin[playerid] = 184) { ChosenSkin[playerid] = 184; SetPlayerSkin(playerid, 184); } else { return 1; } } if(PlayerInfo[playerid][pSex] == 2) // Naine riided { if(ChosenSkin[playerid] = 93) { ChosenSkin[playerid] = 93; SetPlayerSkin(playerid, 93); } else if(ChosenSkin[playerid] = 233) { ChosenSkin[playerid] = 233; SetPlayerSkin(playerid, 233); } else if(ChosenSkin[playerid] = 55) { ChosenSkin[playerid] = 55; SetPlayerSkin(playerid, 55); } else if(ChosenSkin[playerid] = 56) { ChosenSkin[playerid] = 56; SetPlayerSkin(playerid, 56); } else if(ChosenSkin[playerid] = 91) { ChosenSkin[playerid] = 91; SetPlayerSkin(playerid, 91); } else if(ChosenSkin[playerid] = 140) { ChosenSkin[playerid] = 140; SetPlayerSkin(playerid, 140); } else if(ChosenSkin[playerid] = 141) { ChosenSkin[playerid] = 141; SetPlayerSkin(playerid, 141); } else if(ChosenSkin[playerid] = 138) { ChosenSkin[playerid] = 138; SetPlayerSkin(playerid, 138); } else if(ChosenSkin[playerid] = 148) { ChosenSkin[playerid] = 148; SetPlayerSkin(playerid, 148); } else if(ChosenSkin[playerid] = 172) { ChosenSkin[playerid] = 172; SetPlayerSkin(playerid, 172); } else if(ChosenSkin[playerid] = 211) { ChosenSkin[playerid] = 211; SetPlayerSkin(playerid, 211); } else if(ChosenSkin[playerid] = 193) { ChosenSkin[playerid] = 193; SetPlayerSkin(playerid, 193); } else if(ChosenSkin[playerid] = 192) { ChosenSkin[playerid] = 192; SetPlayerSkin(playerid, 192); } else { return 1; } } GetPlayerPos(playerid, ChangePos[playerid][0],ChangePos[playerid][1],ChangePos[playerid][2]); ChangePos2[playerid][0] = GetPlayerInterior(playerid); ChangePos2[playerid][1] = 1; SetPlayerInterior(playerid,0); new rand = random(sizeof(gInviteSpawns)); SetPlayerPos(playerid, gInviteSpawns[rand][0], gInviteSpawns[rand][1], gInviteSpawns[rand][2]); // Warp the player SetPlayerFacingAngle(playerid, gInviteSpawns[rand][3]); SetPlayerCameraPos(playerid,gInviteSpawns[rand][0] + 3, gInviteSpawns[rand][1], gInviteSpawns[rand][2]); SetPlayerCameraLookAt(playerid,gInviteSpawns[rand][0], gInviteSpawns[rand][1], gInviteSpawns[rand][2]); TogglePlayerControllable(playerid, 0); SelectChar[playerid] = 255; SelectCharID[playerid] = PlayerInfo[playerid][pMember]; SelectCharPlace[playerid] = 1; PlayerInfo[playerid][pModel] = ChosenSkin[playerid]; PlayerInfo[playerid][pChar] = ChosenSkin[playerid]; SendClientMessage(playerid, COLOR_LIGHTRED, "* Kirjuta 'next' et nдha jдrgmist skinni."); SendClientMessage(playerid, COLOR_LIGHTRED, "* Kui leidsid sobivat skinni, siis kirjuta 'done'."); } else { SendClientMessage(playerid, COLOR_GRAD2, " Sa pole Binco riidepoes! !"); return 1; } } return 1; }