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!
************** B U M P *****************
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
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
isti ovi erori i jos neki ili samo ti drugi 5...?
drugi 5..
Joj koji put stavljas ovu temu upload mi samo gamemode pa cu ti ja srediti!
daj tih 5 errora i linije od erora