- 0
Problema cshoo.inc
-
Similar Content
-
- 2 replies
- 77 views
-
- 7 answers
- 599 views
-
- 2 answers
- 129 views
-
- 2 answers
- 160 views
-
- 3 answers
- 149 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
Punct.
Nick: Punct.
Problema: Cateva erori la un include
Erori / warnings:
Linii/script:
[pawn]
Itter_Create(Cows, MAX_COWS); // Linie 67
forward cowTimer();
public cowTimer()
{
if(cTimer[1] == C_MOVE_DELAY)
{
foreach(new Cows : a) // Linie 403
{
if(!IsCowDead(a))
{
new
Float:cPos[2];
if(IsObjectInRangeOfPoint(cowData[a][ObjectID],
cowData[a][Range],
cowData[a][Pos][0],
cowData[a][Pos][1],
cowData[a][Pos][2]))
{
cPos[0] = cowData[a][Pos][0] + float(randomEx(floatround(cowData[a][Range] / 2), floatround(cowData[a][Range])));
cPos[1] = cowData[a][Pos][1] + float(randomEx(floatround(cowData[a][Range] / 2), floatround(cowData[a][Range])));
MoveObject(cowData[a][ObjectID], cPos[0], cPos[1], cowData[a][Pos][2], cowData[a][speed]);
}
else
{
cPos[0] = cowData[a][Pos][0];
cPos[1] = cowData[a][Pos][1];
MoveObject(cowData[a][ObjectID], cPos[0], cPos[1], cowData[a][Pos][2], cowData[a][speed]);
}
SetCowAngleToPos(a, cPos[0], cPos[1]);
}
}
cTimer[1] = 0;
}
else cTimer[1]++;
return true;
}
[/pawn]
Ai incercat sa rezolvi singur ?: Da.. dar nu reusesc. Am gasit si pe sa-mp.com ceva, dar tot nu am reusit..
Nu mai deschideti in pu*a mea servere de SA:MP !
Jucati-va pe cele care sunt ! Sunt suficiente !
Reguli de bun simt:
My work
:::http://pastebin.com/VRNRcaAsLink to comment
Share on other sites
4 answers to this question
Recommended Posts