Problem with sscanf & house system */createhouse
#1

Hello, im trying to make a house system. In create house command i currently have this:

PHP код:
if(sscanf(params,"si",HousePrice,HouseName)) return SendClientMessage(playerid,-1,"USAGE: /createhouse [price] [Name]"); 
Are the parameters written propertly? (i havent scripted in a long time, i dont renember), however i tried vice versa.

When im trying to save the house name, im doing this

PHP код:
INI_WriteString(File,"Name",HouseName); 
but it gives me: error 035 argument type mismatch (argument 3)

I must type it as integer but, its not integer.

Why is that? Maybe im doing something wrong?
Reply


Messages In This Thread
Problem with sscanf & house system */createhouse - by [LvZ]Free - 11.08.2015, 15:49
AW: Problem with sscanf & house system */createhouse - by Macronix - 11.08.2015, 16:27
Re: Problem with sscanf & house system */createhouse - by Stev - 11.08.2015, 18:11

Forum Jump:


Users browsing this thread: 2 Guest(s)