SHOW:
|
|
- or go back to the newest paste.
1 | function spawnLort(playerSource) | |
2 | ||
3 | outputChatBox("You are now searching", playerSource) | |
4 | setPedAnimation( playerSource, "BOMBER", "BOM_Plant") | |
5 | setPedFrozen ( playerSource, true ) | |
6 | - | setTimer(lootResult, 2000, 1, playerSourec) |
6 | + | setTimer( function(playerSource) |
7 | - | function lootResult(playerSource) |
7 | + | |
8 | setPedFrozen( playerSource, false ) | |
9 | end, 2000, 1, playerSource) | |
10 | - | end |
10 | + | |
11 | addCommandHandler("search", spawnLort) |