if(pickupid == Einknasten)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(GetPlayerWantedLevel(i)==1 || GetPlayerWantedLevel(i)== 2)
{
SetPlayerPos(i,227.4739,110.3721,999.0156);
SendClientMessage(i, 0xFF5000FF, "Du wurdest für 10min. eingespeert.");
WantedPoints = 0;
WantedLevel[i] = 0;
ClearCrime(i);
SetPlayerWantedLevel(i,0);
Knast(i) = 1;
KnastZeit(i) = 600;
PlayerInfo[i][pKnast] = 600;
}
if(GetPlayerWantedLevel(i)==3 || GetPlayerWantedLevel(i)== 4)
{
SetPlayerPos(i,227.4739,110.3721,999.0156);
SendClientMessage(i, 0xFF5000FF, "Du wurdest für 15min. eingespeert.");
WantedPoints[i] = 0;
WantedLevel[i] = 0;
ClearCrime(i);
SetPlayerWantedLevel(i,0);
Knast(i) = 1;
KnastZeit(i) = 900;
}
if(GetPlayerWantedLevel(i)==5 || GetPlayerWantedLevel(i)== 6)
{
SetPlayerPos(i,227.4739,110.3721,999.0156);
SendClientMessage(i, 0xFF5000FF, "Du wurdest für 25min. eingespeert.");
WantedPoints[i] = 0;
WantedLevel[i] = 0;
ClearCrime(i);
SetPlayerWantedLevel(i,0);
Knast(i) = 1;
KnastZeit(i) = 1500;
}
if(GetPlayerWantedLevel(i)==7 || GetPlayerWantedLevel(i)==
{
SetPlayerPos(i,227.4739,110.3721,999.0156);
SendClientMessage(i, 0xFF5000FF, "Du wurdest für 40min. eingespeert.");
WantedPoints[i] = 0;
WantedLevel[i] = 0;
ClearCrime(i);
SetPlayerWantedLevel(i,0);
Knast(i) = 1;
KnastZeit(i) = 2400;
}
}
}
Ich habs mal für dich in pwn Quellcode eingefügt
Unter welchem public steht das ?