08.12.2011, 14:36
Sorry, here with line numbers
(thanks for the fast reply)
(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 - }