ne das ist es auch nicht
Beiträge von [GS]Sn1p3r
-
-
public OnPlayerPickUpPickup(playerid, pickupid)
{
if (pickupid == bank1 || bank2)
{
GameTextForPlayer(playerid,"~r~Bank Befehle: ~w~/bankhelp",5000,3);
} else if (pickupid == ausweispickup){
GameTextForPlayer(playerid,"~r~Tippe: ~w~/ausweisverlangen ~r~um ein Ausweis zu verlangen",5000,3);
}
}0 errors and 0 warnings
aber in game zeigt er mri für alle pickups die selbe nachricht und zwar : ~r~Bank Befehle: ~w~/bankhelpKönnte mich da jemand aufklären ?
-
public OnPlayerStateChange(playerid, newstate, oldstate){
if (newstate==PLAYER_STATE_DRIVER)
{
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == CAR ID)
{ if(gTeam[playerid] == TEAM_COPS) {
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid,COLOR_RED,"Du bist kein Polziist");
}
}versuchs hiermit
-
lol Danke hatte es nicht bemerkt
Und doch es hat mein Problem gelöst oODANKE !
-
FULL
if(strcmp(cmd, "/calltaxi", true) == 0)
{
.....
SendClientMessage(playerid, COLOR_GREY, "CabCompany: Sie werden sobald ein Fahrer Frei ist abgeholt!");
return 1;
}0 warnings
Aber wenn ich im Spiel "/calltaxi" mache, kommt dann nur "CabCompagny: Spieler braucht"
der Rest vom Satz fehlt, kann einer Helfen ?Thx
mfg Sn1p3r
-
Nice geht perfekt
Danke breadfishDamit ist dies Thread geklärt.
Danke an Alle -
näe ? Was ? xD
-
breadfish hatte recht. Danke jetzt hab ich andere tag mismatch
Full
public OnPlayerSpawn(playerid) {
if(PInfo[playerid][Job] != 0) {
new JobSpawnCoord[3];
JobSpawnCoord[0] = JobSpawn[PInfo[playerid][Job]][0];
JobSpawnCoord[1] = JobSpawn[PInfo[playerid][Job]][1];
JobSpawnCoord[2] = JobSpawn[PInfo[playerid][Job]][2];
SetPlayerPos(playerid,JobSpawnCoord[0],JobSpawnCoord[1],JobSpawnCoord[2]);
for(new i=0;i == 46;i++) {
GivePlayerWeapon(playerid,i,GiveJobWeapon(i,PInfo[playerid][Job]));
}
SetPlayerJobSkin(playerid);
}
return 1;}
ProblemJobSpawnCoord[0] = JobSpawn[PInfo[playerid][Job]][0];
JobSpawnCoord[1] = JobSpawn[PInfo[playerid][Job]][1];
JobSpawnCoord[2] = JobSpawn[PInfo[playerid][Job]][2];C:\Users\Amaury\Desktop\rpgv3.3.pwn(222) : warning 213: tag mismatch
C:\Users\Amaury\Desktop\rpgv3.3.pwn(223) : warning 213: tag mismatch
C:\Users\Amaury\Desktop\rpgv3.3.pwn(224) : warning 213: tag mismatch -
jetzt gehts hab aber 1 error und 3 warnings
{2294.4292,2459.1287,10.8203,92.1526},//Cop
C:\Users\Amaury\Desktop\rpgv3.3.pwn(35) : warning 213: tag mismatch
C:\Users\Amaury\Desktop\rpgv3.3.pwn(35) : warning 213: tag mismatch
C:\Users\Amaury\Desktop\rpgv3.3.pwn(35) : warning 213: tag mismatch
C:\Users\Amaury\Desktop\rpgv3.3.pwn(35) : warning 213: tag mismatch
C:\Users\Amaury\Desktop\rpgv3.3.pwn(35) : error 018: initialization data exceeds declared size -
{2294.4292,2459.1287,10.8203},//Cop
{-1240.6962,48.2363,14.1323},//SOldat
{1685.3977,1447.7677,10.7700},//Taxi-Limofahrer
{1607.4435,1828.7041,10.8203},//Arzt
{1746.2168,2068.5881,10.8203},//Feuerwehr
{1319.4221,1262.4457,10.8203},//PilotC:\Users\Amaury\Desktop\rpgv3.3.pwn(35) : warning 213: tag mismatch
C:\Users\Amaury\Desktop\rpgv3.3.pwn(35) : warning 213: tag mismatch
C:\Users\Amaury\Desktop\rpgv3.3.pwn(35) : warning 213: tag mismatch
C:\Users\Amaury\Desktop\rpgv3.3.pwn(36) : warning 213: tag mismatch
C:\Users\Amaury\Desktop\rpgv3.3.pwn(36) : warning 213: tag mismatch
C:\Users\Amaury\Desktop\rpgv3.3.pwn(36) : warning 213: tag mismatch
C:\Users\Amaury\Desktop\rpgv3.3.pwn(38) : warning 213: tag mismatch
C:\Users\Amaury\Desktop\rpgv3.3.pwn(38) : warning 213: tag mismatch
C:\Users\Amaury\Desktop\rpgv3.3.pwn(38) : warning 213: tag mismatch
C:\Users\Amaury\Desktop\rpgv3.3.pwn(41) : warning 213: tag mismatch
C:\Users\Amaury\Desktop\rpgv3.3.pwn(41) : warning 213: tag mismatch
C:\Users\Amaury\Desktop\rpgv3.3.pwn(41) : warning 213: tag mismatch
C:\Users\Amaury\Desktop\rpgv3.3.pwn(43) : warning 213: tag mismatch
C:\Users\Amaury\Desktop\rpgv3.3.pwn(43) : warning 213: tag mismatch
C:\Users\Amaury\Desktop\rpgv3.3.pwn(43) : warning 213: tag mismatch
C:\Users\Amaury\Desktop\rpgv3.3.pwn(44) : warning 213: tag mismatch
C:\Users\Amaury\Desktop\rpgv3.3.pwn(44) : warning 213: tag mismatch
C:\Users\Amaury\Desktop\rpgv3.3.pwn(44) : warning 213: tag mismatch -
ne immer noch tag mismatch
-
-
new float:JobSpawn[20][3] = {
{},// ZIvi
{2294.4292,2459.1287,10.8203},//Cop
{-1240.6962,48.2363,14.1323},//SOldat
{},//Job
{1685.3977,1447.7677,10.7700},//Taxi-Limofahrer
{},//Autohaendler
{},//pizzaboy
{1607.4435,1828.7041,10.8203},//Arzt
{},//Zoll
{1746.2168,2068.5881,10.8203},//Feuerwehr
{1319.4221,1262.4457,10.8203},//Pilot
{},//Job
{},//Job
{},//Job
{},//Job
{},//Mafia
{},//DrogenWaffenhaendler
{},//Racer
{},//Dieb
{}//Hitman
};C:\Users\Amaury\Desktop\rpgv3.3.pwn(35) : warning 213: tag mismatch
C:\Users\Amaury\Desktop\rpgv3.3.pwn(35) : warning 213: tag mismatch
C:\Users\Amaury\Desktop\rpgv3.3.pwn(35) : warning 213: tag mismatch
C:\Users\Amaury\Desktop\rpgv3.3.pwn(36) : warning 213: tag mismatch
C:\Users\Amaury\Desktop\rpgv3.3.pwn(36) : warning 213: tag mismatch
C:\Users\Amaury\Desktop\rpgv3.3.pwn(36) : warning 213: tag mismatch
C:\Users\Amaury\Desktop\rpgv3.3.pwn(38) : warning 213: tag mismatch
C:\Users\Amaury\Desktop\rpgv3.3.pwn(38) : warning 213: tag mismatch
C:\Users\Amaury\Desktop\rpgv3.3.pwn(38) : warning 213: tag mismatch
C:\Users\Amaury\Desktop\rpgv3.3.pwn(41) : warning 213: tag mismatch
C:\Users\Amaury\Desktop\rpgv3.3.pwn(41) : warning 213: tag mismatch
C:\Users\Amaury\Desktop\rpgv3.3.pwn(41) : warning 213: tag mismatch
C:\Users\Amaury\Desktop\rpgv3.3.pwn(43) : warning 213: tag mismatch
C:\Users\Amaury\Desktop\rpgv3.3.pwn(43) : warning 213: tag mismatch
C:\Users\Amaury\Desktop\rpgv3.3.pwn(43) : warning 213: tag mismatch
C:\Users\Amaury\Desktop\rpgv3.3.pwn(44) : warning 213: tag mismatch
C:\Users\Amaury\Desktop\rpgv3.3.pwn(44) : warning 213: tag mismatch
C:\Users\Amaury\Desktop\rpgv3.3.pwn(44) : warning 213: tag mismatchBräuchte hilfe plz. Danke