23.01.2010, 07:01
HELP bot can be done by irc that if you chat something IG it'll return something but I think that's far behind your head.
Cars thing:
SetPlayerPos is setting the players position to the X,Y,Z coords stated in the SetPlayerPos in this case:
Here the second third and fourth (each X Y Z coords are separated with comma's. So I have only copied the X Y Z coords from AddPlayerClass to SetPlayerPos
The fourth coordinate is
this is the coordinate of the player on which angle (changing view) they are standing. You can also put:
Cars thing:
pawn Код:
if(!strcmp("/gotocar", cmdtext, true))
{
SetPlayerPos(playerid, 1266.5499,-2043.4893,68.3713);
return 1;
}
SetPlayerPos is setting the players position to the X,Y,Z coords stated in the SetPlayerPos in this case:
pawn Код:
1266.5499,-2043.4893,68.3713
pawn Код:
AddPlayerClass(0,1266.5499,-2043.4893,59.2211,68.3713,0,0,0,0,0,0); // Cars
The fourth coordinate is
pawn Код:
68.3713
pawn Код:
if(!strcmp("/gotocar", cmdtext, true))
{
SetPlayerPos(playerid, 1266.5499,-2043.4893,68.3713);
SetPlayerAngle(playerid,68.3713);
return 1;
}