HELP!! Stuck with making TEAMS! Please, +1rep //REALLY URGENT//
#1

Код:
C:\DOCUME~1\SOUADU~1.000\Bureau\MYSERV~1\GAMEMO~1\ms.pwn(63) : warning 217: loose indentation
C:\DOCUME~1\SOUADU~1.000\Bureau\MYSERV~1\GAMEMO~1\ms.pwn(183) : warning 217: loose indentation
C:\DOCUME~1\SOUADU~1.000\Bureau\MYSERV~1\GAMEMO~1\ms.pwn(188) : warning 217: loose indentation
C:\DOCUME~1\SOUADU~1.000\Bureau\MYSERV~1\GAMEMO~1\ms.pwn(190) : error 010: invalid function or declaration
C:\DOCUME~1\SOUADU~1.000\Bureau\MYSERV~1\GAMEMO~1\ms.pwn(202) : error 010: invalid function or declaration
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    if(classid == 0)
    {
    SetPlayerPos(playerid, 2495.0413,-1685.2115,13.5115);
    SetPlayerCameraPos(playerid, 2495.0134,-1681.1893,13.3387);
    SetPlayerCameraLookAt(playerid, 2495.0413,-1685.2115,13.5115);
    GameTextForPlayer(playerid, "~g~Grove", 5000, 5);
    SetPlayerColor(playerid, 0x2D964DFF);
        SetPlayerFacingAngle(playerid, 180.000);
        ApplyAnimation(playerid, "RAPPING", "Laugh_01", 4.0, 0, 0, 0, 0, 0);
        SetPlayerVirtualWorld(playerid, 0);
        SetPlayerInterior(playerid, 0);
        }
return 1;
}
   if(classid == 1)
   {
    SetPlayerPos(playerid, 369.2329,1916.1652,18.3985);
    SetPlayerCameraPos(playerid, 358.7333,1916.3860,17.6406);
    SetPlayerCameraLookAt(playerid, 369.2329,1916.1652,18.3985);
   GameTextForPlayer(playerid, "Army", 5000, 5);
   SetPlayerColor(playerid, 0xC4840EFF);
   SetPlayerFacingAngle(playerid, 180.000)
   ApplyAnimation(playerid, "GHANDS", "gsign5LH", 4.0, 0, 0, 0, 0, 0);
   SetPlayerVirtualWorld(playerid, 0);
   SetPlayerInterior(playerid, 0);
   }
return 1;
}
Line 190.
pawn Код:
if(classid == 1)
Line 202
pawn Код:
return 1;
If you help,you will get +1REP and MUCH LOVE!!
Reply
#2

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    if(classid == 0)
    {
        SetPlayerPos(playerid, 2495.0413,-1685.2115,13.5115);
        SetPlayerCameraPos(playerid, 2495.0134,-1681.1893,13.3387);
        SetPlayerCameraLookAt(playerid, 2495.0413,-1685.2115,13.5115);
        GameTextForPlayer(playerid, "~g~Grove", 5000, 5);
        SetPlayerColor(playerid, 0x2D964DFF);
        SetPlayerFacingAngle(playerid, 180.000);
        ApplyAnimation(playerid, "RAPPING", "Laugh_01", 4.0, 0, 0, 0, 0, 0);
        SetPlayerVirtualWorld(playerid, 0);
        SetPlayerInterior(playerid, 0);
    }
    else if(classid == 1)
    {
        SetPlayerPos(playerid, 369.2329,1916.1652,18.3985);
        SetPlayerCameraPos(playerid, 358.7333,1916.3860,17.6406);
        SetPlayerCameraLookAt(playerid, 369.2329,1916.1652,18.3985);
        GameTextForPlayer(playerid, "Army", 5000, 5);
        SetPlayerColor(playerid, 0xC4840EFF);
        SetPlayerFacingAngle(playerid, 180.000)
        ApplyAnimation(playerid, "GHANDS", "gsign5LH", 4.0, 0, 0, 0, 0, 0);
        SetPlayerVirtualWorld(playerid, 0);
        SetPlayerInterior(playerid, 0);
    }
    return 1;
}
Reply
#3

Now it says:
Код:
C:\DOCUME~1\SOUADU~1.000\Bureau\MYSERV~1\GAMEMO~1\ms.pwn(63) : warning 217: loose indentation
C:\DOCUME~1\SOUADU~1.000\Bureau\MYSERV~1\GAMEMO~1\ms.pwn(196) : error 001: expected token: ";", but found "-identifier-"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
pawn Код:
ApplyAnimation(playerid, "GHANDS", "gsign5LH", 4.0, 0, 0, 0, 0, 0);
Reply
#4

Add this on top of your script:
pawn Код:
#pragma tabsize 0
And This:
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    if(classid == 0)
    {
        SetPlayerPos(playerid, 2495.0413,-1685.2115,13.5115);
        SetPlayerCameraPos(playerid, 2495.0134,-1681.1893,13.3387);
        SetPlayerCameraLookAt(playerid, 2495.0413,-1685.2115,13.5115);
        GameTextForPlayer(playerid, "~g~Grove", 5000, 5);
        SetPlayerColor(playerid, 0x2D964DFF);
        SetPlayerFacingAngle(playerid, 180.000);
        ApplyAnimation(playerid, "RAPPING", "Laugh_01", 4.0, 0, 0, 0, 0, 0);
        SetPlayerVirtualWorld(playerid, 0);
        SetPlayerInterior(playerid, 0);
    }
    else if(classid == 1)
    {
        SetPlayerPos(playerid, 369.2329,1916.1652,18.3985);
        SetPlayerCameraPos(playerid, 358.7333,1916.3860,17.6406);
        SetPlayerCameraLookAt(playerid, 369.2329,1916.1652,18.3985);
        GameTextForPlayer(playerid, "Army", 5000, 5);
        SetPlayerColor(playerid, 0xC4840EFF);
        SetPlayerFacingAngle(playerid, 180.000);
        ApplyAnimation(playerid, "GHANDS", "gsign5LH", 4.0, 0, 0, 0, 0, 0);
        SetPlayerVirtualWorld(playerid, 0);
        SetPlayerInterior(playerid, 0);
    }
    return 1;
}
And next time don't use that type of title, It's super annoying. You're not dieng that it is urgent.
Reply
#5

Quote:
Originally Posted by BetaLaxx
Посмотреть сообщение
Add this on top of your script:
pawn Код:
#pragma tabsize 0
And This:
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    if(classid == 0)
    {
        SetPlayerPos(playerid, 2495.0413,-1685.2115,13.5115);
        SetPlayerCameraPos(playerid, 2495.0134,-1681.1893,13.3387);
        SetPlayerCameraLookAt(playerid, 2495.0413,-1685.2115,13.5115);
        GameTextForPlayer(playerid, "~g~Grove", 5000, 5);
        SetPlayerColor(playerid, 0x2D964DFF);
        SetPlayerFacingAngle(playerid, 180.000);
        ApplyAnimation(playerid, "RAPPING", "Laugh_01", 4.0, 0, 0, 0, 0, 0);
        SetPlayerVirtualWorld(playerid, 0);
        SetPlayerInterior(playerid, 0);
    }
    else if(classid == 1)
    {
        SetPlayerPos(playerid, 369.2329,1916.1652,18.3985);
        SetPlayerCameraPos(playerid, 358.7333,1916.3860,17.6406);
        SetPlayerCameraLookAt(playerid, 369.2329,1916.1652,18.3985);
        GameTextForPlayer(playerid, "Army", 5000, 5);
        SetPlayerColor(playerid, 0xC4840EFF);
        SetPlayerFacingAngle(playerid, 180.000);
        ApplyAnimation(playerid, "GHANDS", "gsign5LH", 4.0, 0, 0, 0, 0, 0);
        SetPlayerVirtualWorld(playerid, 0);
        SetPlayerInterior(playerid, 0);
    }
    return 1;
}
And next time don't use that type of title, It's super annoying. You're not dieng that it is urgent.
Ignoring warnings isn't a good thing.

Quote:

#pragma tabsize 0

Reply
#6

Quote:
Originally Posted by BetaLaxx
Посмотреть сообщение
Add this on top of your script:
pawn Код:
#pragma tabsize 0
And This:
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    if(classid == 0)
    {
        SetPlayerPos(playerid, 2495.0413,-1685.2115,13.5115);
        SetPlayerCameraPos(playerid, 2495.0134,-1681.1893,13.3387);
        SetPlayerCameraLookAt(playerid, 2495.0413,-1685.2115,13.5115);
        GameTextForPlayer(playerid, "~g~Grove", 5000, 5);
        SetPlayerColor(playerid, 0x2D964DFF);
        SetPlayerFacingAngle(playerid, 180.000);
        ApplyAnimation(playerid, "RAPPING", "Laugh_01", 4.0, 0, 0, 0, 0, 0);
        SetPlayerVirtualWorld(playerid, 0);
        SetPlayerInterior(playerid, 0);
    }
    else if(classid == 1)
    {
        SetPlayerPos(playerid, 369.2329,1916.1652,18.3985);
        SetPlayerCameraPos(playerid, 358.7333,1916.3860,17.6406);
        SetPlayerCameraLookAt(playerid, 369.2329,1916.1652,18.3985);
        GameTextForPlayer(playerid, "Army", 5000, 5);
        SetPlayerColor(playerid, 0xC4840EFF);
        SetPlayerFacingAngle(playerid, 180.000);
        ApplyAnimation(playerid, "GHANDS", "gsign5LH", 4.0, 0, 0, 0, 0, 0);
        SetPlayerVirtualWorld(playerid, 0);
        SetPlayerInterior(playerid, 0);
    }
    return 1;
}
And next time don't use that type of title, It's super annoying. You're not dieng that it is urgent.
I Don't know if you might understand this,but i have to go sleep,and if i do, i wont have this patient,i need to finish my work before going sleeping,so i throw it away and not start thinking about it the next day, and sorry,but it was urgent,both +1rep ,ty.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)