Im haveing a big promblem with my /setint command
#1

I have the /setint command to change the house interior but when i do /setint to interior 8 or any number the house interior is fully white and u cant see the interior can you please tell me what i did wrong on this command

//----------------------------------[SETINT]-----------------------------------------------
if(strcmp(cmd, "/setint", true) == 0)
{
if(IsPlayerConnected(playerid))
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /setint [interiorid]");
return 1;
}
new intid;
intid = strval(tmp);
if (PlayerInfo[playerid][pAdmin] >= 1)
{
SetPlayerInterior(playerid,intid);
PlayerInfo[playerid][pInt] = intid;
format(string, sizeof(string), " interiorid %d.", intid);
SendClientMessage(playerid, COLOR_GRAD1, string);
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " You are not authorized to use that command !");
}
}
return 1;
}



Thanks
Reply


Messages In This Thread
Im haveing a big promblem with my /setint command - by Chea - 06.06.2009, 01:38
Re: Im haveing a big promblem with my /setint command - by Donny_k - 06.06.2009, 01:47
Re: Im haveing a big promblem with my /setint command - by Chea - 06.06.2009, 01:51
Re: Im haveing a big promblem with my /setint command - by efeX - 06.06.2009, 01:55

Forum Jump:


Users browsing this thread: 1 Guest(s)