how to add og loc house -
ReD_DeVi - 24.06.2014
how to add og loc house as class selection can anyone help me
Re: how to add og loc house -
Clad - 24.06.2014
Og Loc house coordinates
pawn Код:
513.882507,-11.269994,1001.565307
and interior ID 3.
How to add class :
pawn Код:
public OnGameModeInit()
{
AddPlayerClass(0, 1958.33, 1343.12, 15.36, 269.15, 26, 36, 28, 150, 0, 0);
AddPlayerClass(299, 1958.33, 1343.12, 15.36, 269.15, 26, 36, 28, 150, 0, 0);
return 1;
}
Re: how to add og loc house -
ReD_DeVi - 24.06.2014
where to add cordinates
Re: how to add og loc house -
Clad - 24.06.2014
Quote:
Originally Posted by ReD_DeVi
where to add cordinates
|
Maybe in the command which teleports you to OgLoc house ? lol.
Re: how to add og loc house -
ReD_DeVi - 24.06.2014
i dont have og loc house teleport command
Re: how to add og loc house -
Clad - 24.06.2014
Quote:
Originally Posted by ReD_DeVi
i dont have og loc house teleport command
|
Basicly, You can't add direcly Og Loc house, You will to make a teleport command or /enter, Which will teleport the player to that coordinates.
Re: how to add og loc house -
ReD_DeVi - 24.06.2014
clad i dont know where to add coordinates
Re: how to add og loc house -
Clad - 24.06.2014
pawn Код:
public OnPlayerCommandText(playerid,cmdtext[])
{
if(!strcmp(cmdtext, "/ogloc", true))
{
SetPlayerPos(playerid, 513.882507,-11.269994,1001.565307);
return 1;
}
return 0;
}
Re: how to add og loc house -
ReD_DeVi - 24.06.2014
then what about class selection
Re: how to add og loc house -
Clad - 24.06.2014
pawn Код:
public OnGameModeInit()
{
AddPlayerClass(0, 1958.33, 1343.12, 15.36, 269.15, 26, 36, 28, 150, 0, 0);
AddPlayerClass(299, 1958.33, 1343.12, 15.36, 269.15, 26, 36, 28, 150, 0, 0);
return 1;
}
Re: how to add og loc house -
ReD_DeVi - 24.06.2014
when i added the ogloc then it shows me error
Re: how to add og loc house -
Clad - 24.06.2014
Quote:
Originally Posted by ReD_DeVi
when i added the ogloc then it shows me error
|
Show me the error please.
Re: how to add og loc house -
ReD_DeVi - 24.06.2014
Code:
error 010: invalid function or declaration
(2556) : error 010: invalid function or declaration
(2558) : error 010: invalid function or declaration
Re: how to add og loc house -
Clad - 24.06.2014
Show me the code please, It does work perfectly for me
Re: how to add og loc house -
ReD_DeVi - 24.06.2014
pawn Code:
if(!strcmp(cmdtext, "/ogloc", true))
{
SetPlayerPos(playerid, 513.882507,-11.269994,1001.565307);
return 1;
}
return 0;
}
Re: how to add og loc house -
Clad - 24.06.2014
pawn Code:
CMD:ogloc(playerid,params[])
{
SetPlayerPos(playerid, 513.882507,-11.269994,1001.565307);
return 1;
}
Re: how to add og loc house -
ReD_DeVi - 24.06.2014
then what to do ?
Re: how to add og loc house -
Clad - 24.06.2014
Quote:
Originally Posted by ReD_DeVi
then what to do ?
|
type /ogloc and it will teleport you to Og Loc house wtf -_-
Re: how to add og loc house -
ReD_DeVi - 24.06.2014
with other AddPlayerClass? or delete old and add new
Re: how to add og loc house -
Clad - 24.06.2014
Quote:
Originally Posted by ReD_DeVi
with other AddPlayerClass? or delete old and add new
|
MAN, AddPlayerClass has nothing to do with commands
Just put this command with your commands, compile and run.
Make sure to let PlayerClass.