Beiträge von [GFR]Tuskar

    Danke euch hab ich jetz noch andere befehle hinzugefügt
    public OnPlayerCommandText(playerid, cmdtext[])
    {
    if(strcmp(cmdtext,"/noobspawn",true)==0)
    {
    SetPlayerPos(playerid,1129.0637,-1468.8392,15.7424);
    SendClientMessage(playerid,0xF5FF00FF,"Du wurdest Teleportiert");
    return 1;
    }
    if(strcmp(cmdtext,"/bsn",true)==0)
    {
    SetPlayerPos(playerid,1218.4027,-919.8371,43.0938);
    SendClientMessage(playerid,0xF5FF00FF,"Du wurdest Teleportiert");
    return 1;
    }
    if(strcmp(cmdtext,"/bank",true)==0)
    {
    SetPlayerPos(playerid,1460.1771,-1015.9474,26.1763);
    SendClientMessage(playerid,0xF5FF00FF,"Du wurdest Teleportiert");
    return 1;
    }


    if(strcmp(cmdtext,"/lspd",true)==0)
    {
    SetPlayerPos(playerid,1545.5657,-1675.6315,13.5606);
    SendClientMessage(playerid,0xF5FF00FF,"Du wurdest Teleportiert");
    return 1;
    }
    if(strcmp(cmdtext,"/stadthalle",true)==0)
    {
    SetPlayerPos(playerid,1480.7246,-1765.8708,18.7958);
    SendClientMessage(playerid,0xF5FF00FF,"Du wurdest Teleportiert");
    return 1;
    }
    return 0;

    Danke an euch und was muss ich machen wenn ich mehrere Portbefehle haben will z.b. /bsn
    AddPlayerClass(2,1218.4027,-919.8371,43.0938,7.6256,0,0,0,0,0,0); // bsn tele

    Bekomme ein warn
    public OnPlayerCommandText(playerid, cmdtext[])
    {
    if(strcmp(cmdtext,"/noobspawn",true)==0)
    {
    SetPlayerPos(playerid,1129.0637,-1468.8392,15.7424);
    return 1;
    }
    return 0;
    }


    C:\Program Files (x86)\Rockstar Games\Samp Server\gamemodes\Reallife.pwn(88) : warning 217: loose indentation
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Warning.

    Hallo Leute ich habe mall wieder was für euch,
    public OnPlayerCommandText(playerid, cmdtext[])
    {
    if(strcmp(cmdtext,"/noobspawn",true)==0
    {
    SetPlayerPos(playerid,1129.0637,-1468.8392,15.7424);

    }
    return 0;
    }


    C:\Program Files (x86)\Rockstar Games\Samp Server\gamemodes\Reallife.pwn(86) : error 029: invalid expression, assumed zero
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Error.

    public OnPlayerRequestClass(playerid, classid){ SetPlayerPos(playerid,1129.0343,-1466.0370,15.7550); SetPlayerFacingAngle(playerid,359.4186); SetPlayerCameraPos(playerid,1129.1428,-1466.4232,15.7502); SetPlayerCameraLookAt(playerid,1129.0343,-1466.0370,15.7550); return 1;



    So? :D

    public OnGameModeInit(){ SetGameModeText("TestMode"); AddPlayerClass(0,1129.0637,-1468.8392,15.7424,7.7302,0,0,0,0,0,0); // spawn ls AddPlayerClass(1,1129.0637,-1468.8392,15.7424,7.7302,0,0,0,0,0,0); // spawn ls AddPlayerClass(2,1129.0637,-1468.8392,15.7424,7.7302,0,0,0,0,0,0); // spawn ls return 1;}


    public OnPlayerRequestClass(playerid, classid){ SetPlayerPos(playerid,1129.0343,-1466.0370,15.7550); SetPlayerFacingAngle(playerid,359.4186); SetPlayerCameraPos(playerid,1129.0343,-1466.0370,15.7550); SetPlayerCameraLookAt(playerid,1129.0343,-1466.0370,15.7550); return 1;}

    C:\Program Files (x86)\Rockstar Games\Samp Server\gamemodes\Reallife.pwn(33) : error 017: undefined symbol "SetPlayerCameraLockAt"Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


    1 Error.

    Hallo,
    Ich bin grade an einem neuen Gamemode scripten und habe ein error und bekomme denn nicht raus


    public OnPlayerRequestClass(playerid, classid)
    {
    SetPlayerPos(playerid,1129.1321,-1468.2415,15.7382);
    SetPlayerFacingAngle(playerid,359.4186);
    SetPlayerCameraPos(playerid,1129.1321,-1468.2415,15.7382);
    SetPlayerCameraLockAt(playerid,1129.1321,-1468.2415,15.7382);
    return 1;
    }