Beiträge von relyyy

    Oh, vielen Dank.
    Und was für eine Zahl muss dahin? 4?


    Edit: Mit 4 gehts nicht.
    Edit2: Muss bei OnGameModeInit dennoch AddPlayerClass
    sein?

    Wieso geht das bei mir nicht?
    new Float:gRandomPlayerSpawns[][3] = {
    {1921.6819,-2232.2805,13.5469}, //LSFLUGHAFEN
    {-1375.9813,-260.1061,14.1440}, //SFFLUGHAFEN
    {1630.0172,1624.2849,10.8203}, //LVFLUGHAFEN
    {408.7224,2536.5388,16.5469} //LVSCHROTTFLUGHAFEN
    };


    OnPlayerSpawn:
    new rand = random(sizeof(gRandomPlayerSpawns));
    SetPlayerPos(playerid, gRandomPlayerSpawns[rand][0], gRandomPlayerSpawns[rand][1], gRandomPlayerSpawns[rand][2]); // Warp the player

    Bekomm 19 Warnings,
    Bin ich doof :?:


    D:\GTA San Andreas\SNG-Roleplay\gamemodes\test.pwn(98) : warning 235: public function lacks forward declaration (symbol "GetDistanceBetweenPlayers")
    D:\GTA San Andreas\SNG-Roleplay\gamemodes\test.pwn(267) : warning 202: number of arguments does not match definition
    D:\GTA San Andreas\SNG-Roleplay\gamemodes\test.pwn(535) : warning 204: symbol is assigned a value that is never used: "name"
    D:\GTA San Andreas\SNG-Roleplay\gamemodes\test.pwn(790) : warning 219: local variable "string" shadows a variable at a preceding level
    D:\GTA San Andreas\SNG-Roleplay\gamemodes\test.pwn(1053) : warning 204: symbol is assigned a value that is never used: "vehicleid"
    D:\GTA San Andreas\SNG-Roleplay\gamemodes\test.pwn(1303) : warning 203: symbol is never used: "autoid"
    D:\GTA San Andreas\SNG-Roleplay\gamemodes\test.pwn(1304) : warning 204: symbol is assigned a value that is never used: "vehicleid"
    D:\GTA San Andreas\SNG-Roleplay\gamemodes\test.pwn(1334) : warning 219: local variable "string" shadows a variable at a preceding level
    D:\GTA San Andreas\SNG-Roleplay\gamemodes\test.pwn(1954) : warning 235: public function lacks forward declaration (symbol "getCheckpointType")
    D:\GTA San Andreas\SNG-Roleplay\gamemodes\test.pwn(1959) : warning 235: public function lacks forward declaration (symbol "isPlayerInArea")
    D:\GTA San Andreas\SNG-Roleplay\gamemodes\test.pwn(1971) : warning 235: public function lacks forward declaration (symbol "checkpointUpdate")
    D:\GTA San Andreas\SNG-Roleplay\gamemodes\test.pwn(2016) : warning 235: public function lacks forward declaration (symbol "CheckFuel")
    D:\GTA San Andreas\SNG-Roleplay\gamemodes\test.pwn(2018) : warning 204: symbol is assigned a value that is never used: "Ptmess"
    D:\GTA San Andreas\SNG-Roleplay\gamemodes\test.pwn(2018 -- 2054) : warning 235: public function lacks forward declaration (symbol "FuelRefill")
    D:\GTA San Andreas\SNG-Roleplay\gamemodes\test.pwn(2082) : warning 225: unreachable code
    D:\GTA San Andreas\SNG-Roleplay\gamemodes\test.pwn(2212) : warning 204: symbol is assigned a value that is never used: "State"
    D:\GTA San Andreas\SNG-Roleplay\gamemodes\test.pwn(2331) : warning 235: public function lacks forward declaration (symbol "Reparieren")
    D:\GTA San Andreas\SNG-Roleplay\gamemodes\test.pwn(2372) : warning 203: symbol is never used: "acc"
    D:\GTA San Andreas\SNG-Roleplay\gamemodes\test.pwn(2372) : warning 203: symbol is never used: "kmph"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    19 Warnings.