Yoa hi,
ich war grade am Scripten.
Ich habe es jetzt mit den Markern auf der map hinbekommen.
Ich kriege immer in den selbern Zeilen errors.
Also egal wo ich was einfüge immer die Selben Zeilen.
C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-your-Dream(1).pwn(4675) : error 029: invalid expression, assumed zero
C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-your-Dream(1).pwn(4675) : error 035: argument type mismatch (argument 2)
C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-your-Dream(1).pwn(4676) : error 029: invalid expression, assumed zero
C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-your-Dream(1).pwn(4676) : error 035: argument type mismatch (argument 3)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
if (PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16) //Los Santos Vagos
{
SetPlayerColor(playerid,Vagos);
SetPlayerMarkerForPlayer(playerid,playerid,Vagos);
SetPlayerToTeamColor(playerid);
GivePlayerWeapons(playerid);
SetPlayerPos(playerid,2808.2705,-1169.3121,1025.5703);
SetPlayerFacingAngle(playerid,88.9785);
SetPlayerInterior(playerid,8);
PlayerInfo[playerid][pInt] = 8;
SetPlayerVirtualWorld(playerid,8);
return 1;
}
if (PlayerInfo[playerid][pMember] == 17 || PlayerInfo[playerid][pLeader] == 17) //Varios Los Aztecas
{
SetPlayerColor(playerid,VLA); //4675
SetPlayerMarkerForPlayer(playerid,playerid,VLA); //4676
SetPlayerToTeamColor(playerid);
GivePlayerWeapons(playerid);
SetPlayerPos(playerid,2808.2705,-1169.3121,1025.5703);
SetPlayerFacingAngle(playerid,134.9023);
SetPlayerInterior(playerid,8);
PlayerInfo[playerid][pInt] = 8;
SetPlayerVirtualWorld(playerid,9);
return 1;
}
if (PlayerInfo[playerid][pMember] == 18 || PlayerInfo[playerid][pLeader] == 18) //San Fierro Rifa
{
SetPlayerColor(playerid,Rifa);
SetPlayerMarkerForPlayer(playerid,playerid,Rifa);
SetPlayerToTeamColor(playerid);
GivePlayerWeapons(playerid);
SetPlayerPos(playerid,2808.2705,-1169.3121,1025.5703);
SetPlayerFacingAngle(playerid,271.0359);
SetPlayerInterior(playerid,8);
PlayerInfo[playerid][pInt] = 8;
SetPlayerVirtualWorld(playerid,10);
return 1;
}
Hoffe mir kann jemand helfen.
Ich weis echt nicht mehr weiter.
mfg lolli
//edit Ich habe herausgefunden das es nur bei diesem ist also die errors egal ob weiter unten oder weiter oben:
if (PlayerInfo[playerid][pMember] == 17 || PlayerInfo[playerid][pLeader] == 17) //Varios Los Aztecas
{
SetPlayerColor(playerid,VLA);
SetPlayerMarkerForPlayer(playerid,playerid,VLA);
SetPlayerToTeamColor(playerid);
GivePlayerWeapons(playerid);
SetPlayerPos(playerid,2808.2705,-1169.3121,1025.5703);
SetPlayerFacingAngle(playerid,134.9023);
SetPlayerInterior(playerid,8);
PlayerInfo[playerid][pInt] = 8;
SetPlayerVirtualWorld(playerid,9);
return 1;
}
Ich blicke es net.
Diese ist genauso aufgebaut wie alle anderen.
Wenn des raus ist mit
/* ... */
Dann sind keine errors da aber ich brauche es.
mfg lolli