I have a question -
Xpack - 23.01.2010
Is there any FS With [Help Bot] ?
is something like this :
[Help Bot] [ And the text here]
and ,P.S , anybody can make me a /cars tele? ive here the coords
AddPlayerClass(0,1266.5499,-2043.4893,59.2211,68.3713,0,0,0,0,0,0); // Cars
i don't learn yet , but i will learn in time
Thanks a lot
Re: I have a question -
KnooL - 23.01.2010
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:
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
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:
pawn Код:
if(!strcmp("/gotocar", cmdtext, true))
{
SetPlayerPos(playerid, 1266.5499,-2043.4893,68.3713);
SetPlayerAngle(playerid,68.3713);
return 1;
}
Re: I have a question -
Xpack - 23.01.2010
mhm ..
Quote:
C:\Program Files\Rockstar Games\GTA San Andreas\Scripts\gamemodes\WorldOfStunts.pwn(145) : warning 217: loose indentation
C:\Program Files\Rockstar Games\GTA San Andreas\Scripts\gamemodes\WorldOfStunts.pwn(14 : error 017: undefined symbol "SetPlayerAngle"
C:\Program Files\Rockstar Games\GTA San Andreas\Scripts\gamemodes\WorldOfStunts.pwn(149) : warning 217: loose indentation
C:\Program Files\Rockstar Games\GTA San Andreas\Scripts\gamemodes\WorldOfStunts.pwn(151) : warning 217: loose indentation
C:\Program Files\Rockstar Games\GTA San Andreas\Scripts\gamemodes\WorldOfStunts.pwn(317) : warning 203: symbol is never used: "OnPlayerExitVehicle"
|
dunno , but i always have problems , i guess , i don't know how to put it ..
Re: I have a question -
[dN]Eagle - 23.01.2010
There is probably a "}" missing or your script is messy.
Re: I have a question -
Xpack - 23.01.2010
Yes , there was a '' } '' missing , now ive 3x more problems :
Quote:
C:\Program Files\Rockstar Games\GTA San Andreas\Scripts\gamemodes\WorldOfStunts.pwn(147) : error 017: undefined symbol "SetPlayerAngle"
C:\Program Files\Rockstar Games\GTA San Andreas\Scripts\gamemodes\WorldOfStunts.pwn(14 : warning 217: loose indentation
C:\Program Files\Rockstar Games\GTA San Andreas\Scripts\gamemodes\WorldOfStunts.pwn(316) : warning 203: symbol is never used: "OnPlayerExitVehicle"
|
Quote:
C:\Program Files\Rockstar Games\GTA San Andreas\Scripts\gamemodes\WorldOfStunts.pwn(316) : warning 203: symbol is never used: "OnPlayerExitVehicle"
|
what is this problem? i don't even have the line 316 ...
Re: I have a question -
bluray - 23.01.2010
show me the lines from 144 to 150
and also the whole OPlayerExitVehicle section
i think their might not be a
return 1;
in there
Re: I have a question -
Xpack - 23.01.2010
I solved the problem already , i deleted all OPlaterExitVehicle , there was Velocity , that was the cause ,
Thx alot guys
You're Really Great ^^
Re: I have a question -
llama - 23.01.2010
The function is actually SetPlayerFacingAngle not SetPlayerAngle.