Skip to content

Commit d4dfd70

Browse files
committed
Fix param type in ShowPlayerMarker(s)
1 parent bf80057 commit d4dfd70

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ introduces. To use them, `#include <a_amx>` in Pawno.
296296
[clothes page]: https://wiki.multitheftauto.com/wiki/CJ_Clothes
297297

298298
```pawn
299-
native AddPlayerClothes ( playerid, type, index );
299+
native AddPlayerClothes(playerid, type, index);
300300
```
301301

302302
Applies the specified clothing to a player. See the [clothes page] for a
@@ -306,7 +306,7 @@ visible effect on players with the CJ skin.
306306
### GetPlayerClothes
307307

308308
```pawn
309-
native GetPlayerClothes ( playerid, type );
309+
native GetPlayerClothes(playerid, type);
310310
```
311311

312312
Returns the clothes index of the specified type which the player is
@@ -317,7 +317,7 @@ relevant for players with the CJ skin.
317317
### RemovePlayerClothes
318318

319319
```pawn
320-
native RemovePlayerClothes ( playerid, type );
320+
native RemovePlayerClothes(playerid, type);
321321
```
322322

323323
Removes the specified clothing from a player. See the [clothes page] for a
@@ -327,15 +327,15 @@ on players with the CJ skin.
327327
### ShowPlayerMarker
328328

329329
```pawn
330-
native ShowPlayerMarker ( playerid, show );
330+
native ShowPlayerMarker(playerid, mode);
331331
```
332332

333333
Shows or hides the blip of one specific player.
334334

335335
### SetVehicleModel
336336

337337
```pawn
338-
native SetVehicleModel ( vehicleid, model )
338+
native SetVehicleModel(vehicleid, model);
339339
```
340340

341341
Changes the model of a vehicle; more practical than destroying and
@@ -344,7 +344,7 @@ recreating it.
344344
### lua
345345

346346
```pawn
347-
native lua ( const fnName[], {Float,_}:... );
347+
native lua(const fnName[], {Float,_}:...);
348348
```
349349

350350
Calls a Lua function. The function must be defined in a .lua file in the
@@ -361,7 +361,7 @@ new playerid = lua("luaTestfn1", 1.3, "Test string");
361361
### amxRegisterPawnPrototypes
362362

363363
```pawn
364-
native amxRegisterPawnPrototypes ( const prototype[][] );
364+
native amxRegisterPawnPrototypes(const prototype[][]);
365365
```
366366

367367
Registers prototypes for public functions that can be subsequently
@@ -385,15 +385,15 @@ amxRegisterPawnPrototypes(prototypes);
385385
### amxVersion
386386

387387
```pawn
388-
native amxVersion ( &Float:ver );
388+
native amxVersion(&Float:ver);
389389
```
390390

391391
Retrieves the *amx* version as a floating point number, e.g. `1.3`.
392392

393393
### amxVersionString
394394

395395
```pawn
396-
native amxVersionString ( buffer[], size );
396+
native amxVersionString(buffer[], size);
397397
```
398398

399399
Retrieves the complete *amx* version string.

amx/server/amx.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ function unloadAMX(amx, notifyClient)
190190
if amx.type == 'gamemode' then
191191
procCallInternal(amx, 'OnGameModeExit')
192192
fadeCamera(root, false, 0)
193-
ShowPlayerMarkers(amx, false)
193+
ShowPlayerMarkers(amx, 0)
194194
destroyGlobalElements()
195195

196196
if notifyClient == nil or notifyClient == true then

0 commit comments

Comments
 (0)