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 == true){
KillTimer(prc_Timer); // Killing the timer, ofc we don't want a 75 ms timer always running.
prc_Degree = 0; // Reseting the variable
prc_Moving = 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
(113😎 : error 010: invalid function or declaration
Molim vas da mi pomognete 🙂)) Unapred hvala!
[Pomoc] Problem sa spawn errorima... -.-'
769
pregleda
8
postova
Crime Lord
Novi Član
240 / 250 XP
🌱Početnik(0)
937
Postovi:
22
Teme:
Pridružio se:Mar. 2011
21. Maj 2012.
Crime Lord
Novi Član
240 / 250 XP
🌱Početnik(0)
937
Postovi:
22
Teme:
Pridružio se:Mar. 2011
22. Maj 2012.
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 == true)
{
KillTimer(prc_Timer); // Killing the timer, ofc we don't want a 75 ms timer always running.
prc_Degree = 0; // Reseting the variable
prc_Moving = false; // Reseting the variable
SetCameraBehindPlayer(playerid); // Preventing bugs from appearing.
}
return 1;
} probaj ovakoCrime Lord
Novi Član
240 / 250 XP
🌱Početnik(0)
937
Postovi:
22
Teme:
Pridružio se:Mar. 2011
22. Maj 2012.
|¤ White ¤| wrote on May 22, 2012, 4:35 pm:
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 == true)
{
KillTimer(prc_Timer); // Killing the timer, ofc we don't want a 75 ms timer always running.
prc_Degree = 0; // Reseting the variable
prc_Moving = false; // Reseting the variable
SetCameraBehindPlayer(playerid); // Preventing bugs from appearing.
}
return 1;
} probaj ovakoNe radi pojavljuje mi se jos 5 dodatnih errora :S
Crime Lord
Novi Član
240 / 250 XP
🌱Početnik(0)
937
Postovi:
22
Teme:
Pridružio se:Mar. 2011
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava