Pls help me My mind is f***ing up...
#1

Код:
error 001: expected token: ";", but found "-identifier-"
warning 202: number of arguments does not match definition
Код:

SetPlayerTeamFromClass(playerid, classid);
SetPlayerPos(playerid, 2045.2092,-1115.9816,26.3617,357.7352);
This is the biggest prob ever .... omg.. I'm just thinking wtf is wrong. looking for reason why its down. and why I got this errors.. (Sorry for my mistakes writing in text.. I'm just wake up almost 72 h... )

Thank you for your help and time
Reply
#2

Could we see code, related with this;

pawn Код:
SetPlayerTeamFromClass(playerid, classid);
This;

pawn Код:
SetPlayerPos(playerid, 2045.2092,-1115.9816,26.3617,357.7352);
Replace with this;

pawn Код:
SetPlayerPos(playerid, 2045.2092, -1115.9816, 26.3617);
Reply
#3

Quote:

if(gTeam[playerid] == TEAM_Bloodz)
{
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 2045.2092,-1115.9816,26.3617,357.7352);
return 1;
}

The all of the code is here... but I wanted to show in witch line...

So the prob is some where else

And this is bottom of script I just need that the script can read form public

OnPlayerRequestClass(playerid, classid)

Quote:

stock SetPlayerTeamFromClass(playerid, classid)
{
if(classid == 0)
{
gTeam[playerid] = TEAM_Bloodz;
return 1;
}

And thank you for your answer and your time
Reply
#4

Please some one help me out.. with this..
Reply
#5

This line is wrong: SetPlayerPos(playerid, 2045.2092,-1115.9816,26.3617,357.7352);

Use it like this:
pawn Код:
//                     x           y           z
SetPlayerPos(playerid, 2045.2092, -1115.9816, 26.3617);
SetPlayerFacingAngle(playerid, 357.7352);
Reply
#6

thank you mate
Reply
#7

EDITED!:
Thank you all for your time and help... All ok now :P love you guys :P
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)