constant/macro (symbol "OnPlayerCommandText") WTF ! Help ?
#1

error
pawn Код:
C:\Users\CraTzy\Desktop\DayZ\pawno\include\ocmd.inc(36) : warning 201: redefinition of constant/macro (symbol "OnPlayerCommandText")
C:\Users\CraTzy\Desktop\DayZ\gamemodes\DayZSA (2).pwn(2110) : warning 203: symbol is never used: "RNPC_StopPlayback"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


2 Warnings.
inclues
pawn Код:
#include <a_samp>
#include <rnpc>
#include <Dini>
#include <ocmd>
#include <Zombies>
#include "../include/gl_common.inc"
////Dialogs & colors below
Reply
#2

SHOW US LINE 36
Reply
#3

You used an old include, just update ocmd
Reply
#4

what about other line ?
pawn Код:
C:\Users\CraTzy\Desktop\DayZ\gamemodes\DayZSA (2).pwn(2110) : warning 203: symbol is never used: "RNPC_StopPlayback"
Reply
#5

PHP код:
#pargma unused RNPC_StopPlayerback 
Reply
#6

Quote:
Originally Posted by karemmahmed22
Посмотреть сообщение
PHP код:
#pargma unused RNPC_StopPlayerback 
BAD it will just unuse the COMMAND >.<
dude, make sure RNPC_StopPlayerback is used
Reply
#7

There are more advanced and faster command processors available now.
  • y_commands
  • (I)ZCMD
Quote:
Originally Posted by Trollerz
Посмотреть сообщение
BAD it will just unuse the COMMAND >.<
dude, make sure RNPC_StopPlayerback is used
Simply adding a callback will slow down the server a little bit since public function list lookup will take longer time. Its negligible though.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)