Balkan SA:MP

PAWN skriptanje, gamemodovi, filterskripte, include fajlovi, mape, pluginovi => Razgovor u vezi PAWN - skriptanja => Temu započeo: ∂αηιεℓ zεяσ poslato Maj 21, 2012, 16:51:22 POSLE PODNE

Naslov: [Pomoc] Problem sa spawn errorima... -.-'
Poruka od: ∂αηιεℓ zεяσ poslato Maj 21, 2012, 16:51:22 POSLE PODNE
Skripta koju koristim: mojaaaaaaaaa
Detaljan opis problema: Pokusavam resiti ovaj problem vec 3 dana ali nikako da ga resim :/
Dio skripte: public OnPlayerSpawn(playerid)
{
   SetPlayerPos(playerid,2015.5844,1168.0734,10.8203);
   GivePlayerMoney(playerid,pCash);
   SetPlayerInterior(playerid,0);
   TogglePlayerClock(playerid,1);
   StopAudioStreamForPlayer(playerid);
}
   if(prc_Moving[playerid] == true){

        KillTimer(prc_Timer[playerid]); // Killing the timer, ofc we don't want a 75 ms timer always running.
        prc_Degree[playerid] = 0; // Reseting the variable
        prc_Moving[playerid] = false; // Reseting the variable
        SetCameraBehindPlayer(playerid); // Preventing bugs from appearing.
}

return 1;
}
Javljaju mi se errori :
error 029: invalid expression, assumed zero
: error 004: function "OnPlayerSpawn" is not implemented
(1138) : error 010: invalid function or declaration
Molim vas da mi pomognete :))) Unapred hvala!
Naslov: Odg: [Pomoc] Problem sa spawn errorima... -.-'
Poruka od: ∂αηιεℓ zεяσ poslato Maj 22, 2012, 13:10:09 POSLE PODNE
************** B U M P *****************
Naslov: Odg: [Pomoc] Problem sa spawn errorima... -.-'
Poruka od: |¤ White ¤| poslato Maj 22, 2012, 18:35:29 POSLE PODNE
public OnPlayerSpawn(playerid)
{
SetPlayerPos(playerid,2015.5844,1168.0734,10.8203);
GivePlayerMoney(playerid,pCash);
SetPlayerInterior(playerid,0);
TogglePlayerClock(playerid,1);
StopAudioStreamForPlayer(playerid);
if(prc_Moving[playerid] == true)
{
KillTimer(prc_Timer[playerid]); // Killing the timer, ofc we don't want a 75 ms timer always running.
prc_Degree[playerid] = 0; // Reseting the variable
prc_Moving[playerid] = false; // Reseting the variable
SetCameraBehindPlayer(playerid); // Preventing bugs from appearing.
}
return 1;
}
probaj ovako
Naslov: Odg: [Pomoc] Problem sa spawn errorima... -.-'
Poruka od: ∂αηιεℓ zεяσ poslato Maj 22, 2012, 19:58:00 POSLE PODNE
Citat: |¤ White ¤| poslato Maj 22, 2012, 18:35:29 POSLE PODNE
public OnPlayerSpawn(playerid)
{
SetPlayerPos(playerid,2015.5844,1168.0734,10.8203);
GivePlayerMoney(playerid,pCash);
SetPlayerInterior(playerid,0);
TogglePlayerClock(playerid,1);
StopAudioStreamForPlayer(playerid);
if(prc_Moving[playerid] == true)
{
KillTimer(prc_Timer[playerid]); // Killing the timer, ofc we don't want a 75 ms timer always running.
prc_Degree[playerid] = 0; // Reseting the variable
prc_Moving[playerid] = false; // Reseting the variable
SetCameraBehindPlayer(playerid); // Preventing bugs from appearing.
}
return 1;
}
probaj ovako
Ne radi pojavljuje mi se jos 5 dodatnih errora :S
Naslov: Odg: [Pomoc] Problem sa spawn errorima... -.-'
Poruka od: |¤ White ¤| poslato Maj 22, 2012, 20:18:36 POSLE PODNE
isti ovi erori i jos neki ili samo ti drugi 5...?
Naslov: Odg: [Pomoc] Problem sa spawn errorima... -.-'
Poruka od: ∂αηιεℓ zεяσ poslato Maj 22, 2012, 20:32:37 POSLE PODNE
drugi 5..
Naslov: Odg: [Pomoc] Problem sa spawn errorima... -.-'
Poruka od: [BUN]Lukas poslato Maj 22, 2012, 20:42:19 POSLE PODNE
Joj koji put stavljas ovu temu upload mi samo gamemode pa cu ti ja srediti!
Naslov: Odg: [Pomoc] Problem sa spawn errorima... -.-'
Poruka od: |¤ White ¤| poslato Maj 22, 2012, 21:11:15 POSLE PODNE
daj tih 5 errora i linije od erora