I have a question
#1

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

Reply
#2

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
pawn Код:
68.3713
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;
}
Reply
#3

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 ..
Reply
#4

There is probably a "}" missing or your script is messy.
Reply
#5

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 ...
Reply
#6

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
Reply
#7

I solved the problem already , i deleted all OPlaterExitVehicle , there was Velocity , that was the cause ,

Thx alot guys You're Really Great ^^
Reply
#8

The function is actually SetPlayerFacingAngle not SetPlayerAngle.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)