Fixed typo's in the documentation.
This commit is contained in:
parent
020a8b457d
commit
c5b89ea0f5
@ -10,11 +10,11 @@ return
|
|||||||
Params =
|
Params =
|
||||||
{
|
{
|
||||||
{ Name = "Player", Type = "{{cPlayer}}", Notes = "The player who pulled the fish in." },
|
{ Name = "Player", Type = "{{cPlayer}}", Notes = "The player who pulled the fish in." },
|
||||||
{ Name = "Reward", Type = "{{cItems}}", Notes = "The reward the player gets. It can be a fish, tressure and junk." },
|
{ Name = "Reward", Type = "{{cItems}}", Notes = "The reward the player gets. It can be a fish, treasure and junk." },
|
||||||
},
|
},
|
||||||
Returns = [[
|
Returns = [[
|
||||||
If the function returns false or no value, the next plugin's callback is called. If the function returns true, no other
|
If the function returns false or no value, the next plugin's callback is called. If the function returns true, no other
|
||||||
callback is called for this event.
|
callback is called for this event.
|
||||||
]],
|
]],
|
||||||
}, -- HOOK_PLAYER_FISHED
|
}, -- HOOK_PLAYER_FISHED
|
||||||
}
|
};
|
@ -10,7 +10,7 @@ return
|
|||||||
Params =
|
Params =
|
||||||
{
|
{
|
||||||
{ Name = "Player", Type = "{{cPlayer}}", Notes = "The player who pulled the fish in." },
|
{ Name = "Player", Type = "{{cPlayer}}", Notes = "The player who pulled the fish in." },
|
||||||
{ Name = "Reward", Type = "{{cItems}}", Notes = "The reward the player gets. It can be a fish, tressure and junk." },
|
{ Name = "Reward", Type = "{{cItems}}", Notes = "The reward the player gets. It can be a fish, treasure and junk." },
|
||||||
},
|
},
|
||||||
Returns = [[
|
Returns = [[
|
||||||
If the function returns false or no value, the next plugin's callback is called. Afterwards, the
|
If the function returns false or no value, the next plugin's callback is called. Afterwards, the
|
||||||
@ -18,4 +18,4 @@ return
|
|||||||
callback is called for this event and the player doesn't get his reward.
|
callback is called for this event and the player doesn't get his reward.
|
||||||
]],
|
]],
|
||||||
}, -- HOOK_PLAYER_FISHING
|
}, -- HOOK_PLAYER_FISHING
|
||||||
}
|
};
|
Loading…
Reference in New Issue
Block a user