also ich hab nen Tut gemacht...und bei der Id 0 kommt das manhcmal einfach zwischendruch -.-
also ich hab bei SetPlayerSpawn das hier
if(PlayerInfo[playerid][pTut] == 0)
{
gOoc[playerid] = 1; gNews[playerid] = 1; gNewb[playerid] = 1; gFam[playerid] = 1;
TogglePlayerControllable(playerid, 0);
TutState[playerid] = 1;
TutTime[playerid] = 2;
}
if(PlayerInfo[playerid][pTut] == 1)
{
gOoc[playerid] = 1; gNews[playerid] = 1; gNewb[playerid] = 1; gFam[playerid] = 1;
TogglePlayerControllable(playerid, 1);
TutState[playerid] = 0;
TutTime[playerid] = 0;
SetPlayerPos(playerid, 1480.9323,-1767.7324,18.7958);
}
und dann halt das Tut
if(TutTime[i] >= 2)
{
TutTime[i] += 1;
//
if(TutTime[i] == 3)
{
TogglePlayerControllable(i, 0);
SetPlayerCameraPos(playerid, 297.4738,-1978.0796,127.1761);
SetPlayerCameraLookAt(playerid, 895.7321,-1552.7325,120.8731);
SetPlayerPos(playerid,200.4738,-1978.0796,127.1761);
SetPlayerInterior(playerid, 0);
GameTextForPlayer(playerid, "~b~Willkommen in Los Santos!", 4000, 1);
}
else if(TutTime[i] == 7)
{
bitte helft mir