Wir haben das Script aber das ist nicht so das beste.
Werbung: 6/10
Forum: 4/10
Script: 3/10
MfG
Wir haben das Script aber das ist nicht so das beste.
Werbung: 6/10
Forum: 4/10
Script: 3/10
MfG
nein willste per TV nochmal gucken?
J:\Chrome Downloads\German City Reallife\gamemodes\gcr.pwn(1492) : error 076: syntax error in the expression, or invalid function call
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
Zeile:
SetTimer("blowjoblaune",120000,true);
Oben im Script:
forward blowjoblaune(playerid);
Public veröffentliche ich nicht
Geht doch nicht!
Unter OnGameModeInit
public OnPlayerSpawn(playerid)
{
if(GetPVarInt(playerid,"Tutorial") == 0)
{
SetPlayerPos(playerid,-1437.5637,1490.5920,1.8672);
SetPlayerFacingAngle(playerid,267.9360);
TextDrawHideForPlayer(playerid,LoadScreen);
GameTextForPlayer(playerid,"~r~Begib ~w~dich zum Checkpoint",5000,3);
TutCheck[playerid]=1;
SetPlayerCheckpoint(playerid,-1376.6665,1492.8998,11.2031,3.0);
SetPlayerColor(playerid,weiss);
new bankstring[256];
format(bankstring,sizeof(bankstring),"~g~Bank: ~w~%i$",GetPVarInt(playerid,"Bank"));
TextDrawSetString(StatistikBank[playerid], bankstring[playerid]);
new string[64],laune[120];
switch(GetPVarInt(playerid,"Laune"))
{
case 0:{laune="Depressive";}
case 1:{laune="So lala";}
case 2:{laune="Gut";}
case 3:{laune="Sehr Gut";}
}
format(string,sizeof(string),"~b~Laune: ~w~%s",laune);
TextDrawSetString(StatistikLaune[playerid],string);
TextDrawShowForPlayer(playerid,Uhrzeit);
TextDrawShowForPlayer(playerid,Datum);
TextDrawShowForPlayer(playerid,TextNsR);
TextDrawShowForPlayer(playerid,Version);
TextDrawShowForPlayer(playerid,StatistikBank[playerid]);
TextDrawShowForPlayer(playerid,StatistikLaune[playerid]);
}
else if(GetPVarInt(playerid,"Tutorial") == 1)
{
SetPlayerColor(playerid,weiss);
SetPlayerPos(playerid,436.0396,-1748.9204,9.1560);
SetPlayerFacingAngle(playerid,220.7169);
TextDrawHideForPlayer(playerid,LoadScreen);
new bankstring[256];
format(bankstring,sizeof(bankstring),"~g~Bank: ~w~%i$",GetPVarInt(playerid,"Bank"));
TextDrawSetString(StatistikBank[playerid], bankstring[playerid]);
new string[64],laune[120];
switch(GetPVarInt(playerid,"Laune"))
{
case 0:{laune="Depressive";}
case 1:{laune="So lala";}
case 2:{laune="Gut";}
case 3:{laune="Sehr Gut";}
}
format(string,sizeof(string),"~b~Laune: ~w~%s",laune);
TextDrawSetString(StatistikLaune[playerid],string);
TextDrawShowForPlayer(playerid,Uhrzeit);
TextDrawShowForPlayer(playerid,Datum);
TextDrawShowForPlayer(playerid,TextNsR);
TextDrawShowForPlayer(playerid,Version);
TextDrawShowForPlayer(playerid,StatistikBank[playerid]);
TextDrawShowForPlayer(playerid,StatistikLaune[playerid]);
}
return 1;
}
Immer noch das gleiche Problem.
Wenn man auf Spawn klickt kommt "GTA_SA.exe funktioniert nicht mehr".
MfG
Keine drine willste per TV mal drüber gucken?
Laune System aber wenn ich das raus mache ist das Problem immer noch.
mfG
Selfmade by me
Hallo,
wenn die erste Person reingeht dann kann der spielen aber die 2,3,4,5..... reingeht dann können die nicht spielen.
MfG,
HunterBoY998
bei mir das gleiche Problem
Nein nur für das Launen + Bank System
Wir haben 500 Slots
Hallo,
der erste Spieler der connected kann spawnen aber der 2+ nicht.
Code von OnPlayerSpawn:
if(GetPVarInt(playerid,"Tutorial") == 0)
{
SetPlayerPos(playerid,-1437.5637,1490.5920,1.8672);
SetPlayerFacingAngle(playerid,267.9360);
TextDrawHideForPlayer(playerid,LoadScreen);
GameTextForPlayer(playerid,"~r~Begib ~w~dich zum Checkpoint",5000,3);
TutCheck[playerid]=1;
SetPlayerCheckpoint(playerid,-1376.6665,1492.8998,11.2031,3.0);
SetPlayerColor(playerid,weiss);
new bankstring[256];
format(bankstring,sizeof(bankstring),"~g~Bank: ~w~%i$",GetPVarInt(playerid,"Bank"));
TextDrawSetString(StatistikBank[playerid], bankstring[playerid]);
new string[64],laune[120];
switch(GetPVarInt(playerid,"Laune"))
{
case 0:{laune="Depressive";}
case 1:{laune="So lala";}
case 2:{laune="Gut";}
case 3:{laune="Sehr Gut";}
}
format(string,sizeof(string),"~b~Laune: ~w~%s",laune);
TextDrawSetString(StatistikLaune[playerid],string);
TextDrawShowForPlayer(playerid,Uhrzeit);
TextDrawShowForPlayer(playerid,Datum);
TextDrawShowForPlayer(playerid,TextNsR);
TextDrawShowForPlayer(playerid,Version);
TextDrawShowForPlayer(playerid,StatistikBank[playerid]);
TextDrawShowForPlayer(playerid,StatistikLaune[playerid]);
}
else if(GetPVarInt(playerid,"Tutorial") == 1)
{
SetPlayerColor(playerid,weiss);
SetPlayerPos(playerid,436.0396,-1748.9204,9.1560);
SetPlayerFacingAngle(playerid,220.7169);
TextDrawHideForPlayer(playerid,LoadScreen);
new bankstring[256];
format(bankstring,sizeof(bankstring),"~g~Bank: ~w~%i$",GetPVarInt(playerid,"Bank"));
TextDrawSetString(StatistikBank[playerid], bankstring[playerid]);
new string[64],laune[120];
switch(GetPVarInt(playerid,"Laune"))
{
case 0:{laune="Depressive";}
case 1:{laune="So lala";}
case 2:{laune="Gut";}
case 3:{laune="Sehr Gut";}
}
format(string,sizeof(string),"~b~Laune: ~w~%s",laune);
TextDrawSetString(StatistikLaune[playerid],string);
TextDrawShowForPlayer(playerid,Uhrzeit);
TextDrawShowForPlayer(playerid,Datum);
TextDrawShowForPlayer(playerid,TextNsR);
TextDrawShowForPlayer(playerid,Version);
TextDrawShowForPlayer(playerid,StatistikBank[playerid]);
TextDrawShowForPlayer(playerid,StatistikLaune[playerid]);
}
MfG
Schick mir mal deine TV Daten per PN
MfG
Heyho,
also wenn man die ganze Zeit Enter drückt dann wird der Dialog angezeigt nur einmal drücken nicht.
Code:
if(newkeys == KEY_SECONDARY_ATTACK)
{
if(IsPlayerInRangeOfPoint(playerid,1.0,315.8935,-1769.8759,4.6351))
{
if(GetPVarInt(playerid,"Tutorial") == 0)
{
new string[500];
format(string,sizeof(string),"TEXT 1",string);
format(string,sizeof(string),"TEXT 2",string);
ShowPlayerDialog(playerid,DIALOG_TUT3,DIALOG_STYLE_MSGBOX," ",string,"Okay","");
SetPlayerCheckpoint(playerid,322.3679,-1765.4747,4.0947,4.0);
TutCheck[playerid] = 4;
}
else if(GetPVarInt(playerid,"Tutorial") == 1)
{
}
}
}