21.01.2012, 17:52
Hello, Im trying to replace the house's pickup with Checkpoints, I downloaded the last streamer of Incognito
I Type in top of the Script #include <streamer> , put the streamer in plugins folder and the inc file in pawno includes folder , the original Code is this
I change it with this
But when i compile i get these two warnings
i ignore them and go check the houses , IG , I don't find the Checkpoints, i only see the 3Dlabeltext,
Is there any thing i didn't do or something , im new in scripting
I Type in top of the Script #include <streamer> , put the streamer in plugins folder and the inc file in pawno includes folder , the original Code is this
Код:
for(new h = 0; h < sizeof(HouseInfo); h++) { if(HouseInfo[h][hOwned] == 0) { Create3DTextLabel("[Property]",0x00AE00FF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+0.75,20.0,0,1); HouseInfo[h][hPickupID]=CreatePickup(1273, 1, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]); pickups++; } if(HouseInfo[h][hOwned] == 1) { Create3DTextLabel("[Property]",0x00AE00FF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+0.75,20.0,0,1); HouseInfo[h][hPickupID]=CreatePickup(1239, 1, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]); pickups++; } }
Код:
for(new h = 0; h < sizeof(HouseInfo); h++) { if(HouseInfo[h][hOwned] == 0) { Create3DTextLabel("[Property]",0x00AE00FF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+0.75,20.0,0,1); HouseInfo[h][hPickupID]=CreateDynamicCP(1273, 1, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]); pickups++; } if(HouseInfo[h][hOwned] == 1) { Create3DTextLabel("[Property]",0x00AE00FF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+0.75,20.0,0,1); HouseInfo[h][hPickupID]=CreateDynamicCP(1239, 1, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]); pickups++; } }
Код:
C:\DOCUME~1\Jaber\Bureau\PR-RPE~1\GAMEMO~1\PS-RP.pwn(6220) : warning 213: tag mismatch C:\DOCUME~1\Jaber\Bureau\PR-RPE~1\GAMEMO~1\PS-RP.pwn(6226) : warning 213: tag mismatch Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase Header size: 10388 bytes Code size: 1657632 bytes Data size: 26364440 bytes Stack/heap size: 16384 bytes; estimated max. usage: unknown, due to recursion Total requirements:28048844 bytes 2 Warnings.
Is there any thing i didn't do or something , im new in scripting