OnPlayerTakeDamage [help wanted]
#3

Sorry, here with line numbers
(thanks for the fast reply)

Код:
1363 - public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid)
1364 - {
1365 - 	new Float:X, Float:Y, Float:Z;
1366- 	GetPlayerPos( playerid, X, Y, Z );
1367 - 	posZ = Z;
1368 - 	posX = X;
1369 - 	posY = Y;
1370 - 	damage = amount;
1371 - 	for(new i=0; i<15; i++)
1372 - 	{
1373 - 	SetTimer("Damagetimer", 100, false);
1374 - 	}
1375 - 	return 1;
1376 - }
1378 - 
1379 - public Damagetimer()
1380 - {
1381 - 	posZ = posZ+0.1;
1382 - 	dmg1 = Create3DTextLabel(damage,COLOR_RED,posX,posY,posZ,50.0,0);
1383 -     Delete3DTextLabel(dmg1);
1384 -    return 1;
1385 - }
Reply


Messages In This Thread
OnPlayerTakeDamage [help wanted] - by klotebandit - 08.12.2011, 12:26
Re : OnPlayerTakeDamage [help wanted] - by mehdi-jumper - 08.12.2011, 12:35
Re: OnPlayerTakeDamage [help wanted] - by klotebandit - 08.12.2011, 14:36
Re: OnPlayerTakeDamage [help wanted] - by klotebandit - 08.12.2011, 15:38
Re: OnPlayerTakeDamage [help wanted] - by jonrb - 08.12.2011, 19:03
Re: OnPlayerTakeDamage [help wanted] - by klotebandit - 09.12.2011, 11:36
Re: OnPlayerTakeDamage [help wanted] - by klotebandit - 21.01.2012, 14:24

Forum Jump:


Users browsing this thread: 3 Guest(s)