C:\Users\Mijn pc\Desktop\test\pawno\include\SII.inc(48) : error 017: undefined symbol "strcmp" C:\Users\Mijn pc\Desktop\test\pawno\include\SII.inc(48) : warning 215: expression has no effect C:\Users\Mijn pc\Desktop\test\pawno\include\SII.inc(48) : warning 215: expression has no effect C:\Users\Mijn pc\Desktop\test\pawno\include\SII.inc(48) : warning 215: expression has no effect C:\Users\Mijn pc\Desktop\test\pawno\include\SII.inc(48) : error 001: expected token: ";", but found ")" C:\Users\Mijn pc\Desktop\test\pawno\include\SII.inc(48) : error 029: invalid expression, assumed zero C:\Users\Mijn pc\Desktop\test\pawno\include\SII.inc(48) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
INI_WriteInt("VirtualWorld",GetPlayerVirtualWorld( playerid)); |
INI_WriteInt(FilePath, "VirtualWorld", GetPlayerVirtualWorld(playerid));
dude it must be like this
pawn Код:
|
format(file,sizeof(file),"FHouse/Houses/%i.ini",id);//Formating the var to the selected house directory. INI_Open(file);//Opening the file with SII. INI_WriteInt("Price",HousePrice);//Writing in the place "Price" the inputted "Price" value. INI_WriteInt("Owned",0);//Setting to "Owned" = 0 in the ini file. INI_WriteInt("VirtualWorld",GetPlayerVirtualWorld(playerid));//Writing "VirtualWorld" = GetPlayerVirtualWorld(..); INI_WriteFloat("XPos",x);//Writing the players pos for the check point position. INI_WriteFloat("YPos",y);//Self explanatory. INI_WriteFloat("ZPos",z);//Self explanatory. INI_WriteString("Owner","Nonusablenameforthishouse");//Writing a string in "Owned" to "Nonusablenameforthishouse" INI_Save();//Saving file with SII. INI_Close();//Closing the file with SII. format(labelstring,sizeof(labelstring),"Owned: No \nPrice: %i",HousePrice); HInfo[id][HouseLabel] = Create3DTextLabel(labelstring,0xFF0000FF,x,y,z,25.0,GetPlayerVirtualWorld(playerid)); HouseCount++; return 1; }