Itt vmi nem jó, a tömböt mod elejére tettem:
new DMSpawn [ ] [ ] =
{
{2623.6,2758.1,23.8}, //221
{2666.7,2821.8,36.3}, //222
{2666.9,2734.9,14.2} //223
};
A spawnolást meg ide:
case 0:
{
SetPlayerPos(playerid,DMSpawn[rand][0],DMSpawn[rand][1],DMSpawn [ rand][2],DMSpawn[rand][3]); //2167
SetPlayerFacingAngle(playerid,90.0);
SetPlayerColor(playerid,COLOR_GREY);
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid,34,10);
SetPlayerVirtualWorld(playerid,dmid[playerid]);
}
És 1 error meg 1 csomó warning:
C:\\Documents and Settings\\USER\\Asztal\\szerver\\gamemodes\\GPV1.pwn(221) : warning 213: tag mismatch
C:\\Documents and Settings\\USER\\Asztal\\szerver\\gamemodes\\GPV1.pwn(221) : warning 213: tag mismatch
C:\\Documents and Settings\\USER\\Asztal\\szerver\\gamemodes\\GPV1.pwn(221) : warning 213: tag mismatch
C:\\Documents and Settings\\USER\\Asztal\\szerver\\gamemodes\\GPV1.pwn(222) : warning 213: tag mismatch
C:\\Documents and Settings\\USER\\Asztal\\szerver\\gamemodes\\GPV1.pwn(222) : warning 213: tag mismatch
C:\\Documents and Settings\\USER\\Asztal\\szerver\\gamemodes\\GPV1.pwn(222) : warning 213: tag mismatch
C:\\Documents and Settings\\USER\\Asztal\\szerver\\gamemodes\\GPV1.pwn(223) : warning 213: tag mismatch
C:\\Documents and Settings\\USER\\Asztal\\szerver\\gamemodes\\GPV1.pwn(223) : warning 213: tag mismatch
C:\\Documents and Settings\\USER\\Asztal\\szerver\\gamemodes\\GPV1.pwn(223) : warning 213: tag mismatch
C:\\Documents and Settings\\USER\\Asztal\\szerver\\gamemodes\\GPV1.pwn(2167) : error 032: array index out of bounds (variable \"DMSpawn\")
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.