3problems.
#1

hello all, im have 3problems with TDM server. :S

1. why WCM textdraw didnt showing, when i connect to server ( showing ) when spawning, and die pressing f4. - textdraw didnt showing ( inc - http://pastebin.com/stP4wH6y )
2. anim wont work. :/ ( onplayerrequest: http://pastebin.com/E8R22UdV )
3. godmode bugged?
// top of script
new GodMode [ MAX_PLAYERS ] ;
Quote:

public OnPlayerSpawn(playerid)
{
SetPlayerHealth(playerid, 99999);
GodMode[playerid]=SetTimerEx("Rezimas",1000*10,true,"i",playerid);
// another shit

and
Quote:

public Rezimas(playerid)
{
SetPlayerHealth(playerid, 100);
ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX,"GangWars", "Funkcija „GodMode“ baigлsi!", "Gerai", "Uюdaryti");
KillTimer(GodMode[playerid]);
return 1;
}

thanks u
Reply
#2

bump, help. :X
Reply
#3

pawn Код:
GodMode[playerid]=SetTimerEx("Rezimas",1000*10,true,"i",playerid);
You are making the timer restart everytime.

pawn Код:
GodMode[playerid]=SetTimerEx("Rezimas",1000*10,false,"i",playerid);
Reply
#4

thx.. 2probs leftD going to try fix with anim.
Reply
#5

HELP. :/ sorry for this.
Reply
#6

up, i know modetators will del this tread, but by the way. ^.^
Reply
#7

Try playing the animation AFTER setting the position.
Reply
#8

Nop. Didnt working.
Reply
#9

Probably you didn't notice that ApplyAnimation function has changed in 0.3b
https://sampwiki.blast.hk/wiki/ApplyAnimation


pawn Код:
GodMode[playerid]=SetTimerEx("Rezimas",1000,true,"i",playerid);//that should be under OnGameModeInit.
then you can put under onplayerspawn
pawn Код:
GodMode[playerid];
I'm not sure if that would work though.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)