Balkan SA:MP

PAWN skriptanje, gamemodovi, filterskripte, include fajlovi, mape, pluginovi => Razgovor u vezi PAWN - skriptanja => Temu započeo: | S-RP | K@lib@r .300 poslato Februar 10, 2012, 19:36:25 POSLE PODNE

Naslov: [Pomoc]Kako napraviti to s WLvLom
Poruka od: | S-RP | K@lib@r .300 poslato Februar 10, 2012, 19:36:25 POSLE PODNE
Skripta koju koristim: CLRP
Detaljan opis problema: Kako napraviti da se Wanted Level sacuva nakon izlaska s Servera?
Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno):
Naslov: Odg: [Pomoc]Kako napraviti to s WLvLom
Poruka od: Mladen Smiljan poslato Februar 10, 2012, 23:13:29 POSLE PODNE
Potrazis di imas za spremanje:
pScore
pCash
i tu doas
pWanted
I tako dodas za spremanje i citanje!
A pod OnplayerSpawn dodas:
if(PlayerInfo[playerid][pWanted] == 1)
{
SetPlayerWantedLevel(playerid, 1);
}
if(PlayerInfo[playerid][pWanted] == 2)
{
SetPlayerWantedLevel(playerid, 2);
}
if(PlayerInfo[playerid][pWanted] == 3)
{
SetPlayerWantedLevel(playerid, 3);
}
if(PlayerInfo[playerid][pWanted] == 4)
{
SetPlayerWantedLevel(playerid, 4);
}
if(PlayerInfo[playerid][pWanted] == 5)
{
SetPlayerWantedLevel(playerid, 5);
}
if(PlayerInfo[playerid][pWanted] == 6)
{
SetPlayerWantedLevel(playerid, 6);
}