Ok some im trying to find a fishing spot which is a npc, and the id is 329 so what do i need to do to find it ? I've gone though Cstrike tut and could not seem to find it.
Thanks
Ok some im trying to find a fishing spot which is a npc, and the id is 329 so what do i need to do to find it ? I've gone though Cstrike tut and could not seem to find it.
Thanks
Originally Posted by DD on IRC
Well technically the only thing required to find NPCs is the line of code "GetNPC(329)" although you'll find that NPCs are actually less easy to get than that and will require some innovation to provide failsafes.
I'm releasing a *Learners* version of my script very soon which has detailed comments on every line of the script. You may find it useful
Ok thanks, umm lets see what i can find in the includeAlso a tut like that would be great i find seeing a working item helps me learn better
![]()
Originally Posted by DD on IRC
Simba Code:function FindFishingSpot(var Tile: TTile): Boolean;
var
fishSpot: TNPC;
begin
if not LoggedIn then Exit;
fishSpot := GetNPC(329);
if not (fishSpot = NULL_NPC) then
begin
Tile := fishSpot.Tile;
result := true;
end;
end;
There are currently 1 users browsing this thread. (0 members and 1 guests)