AdminSys
#1

I am trying to make an admin script with theese:
pawn Код:
#include <a_samp>
#include <dini>
#include <dutils>
and i get this warning
pawn Код:
C:\Documents and Settings\maya\Desktop\Games\samp03csvr_win32\pawno\AdminSys.pwn(4) : warning 203: symbol is never used: "ret_memcpy"
I am not going to use this and it doesn't bother me but can you tell me what it is?
Reply
#2

it was comming to me too i wasted alot time But No Answer
Reply
#3

Add this under your includes

pawn Код:
#pragma unused ret_memcpy
Reply
#4

thanks
Reply
#5

I'm not gonna make new topic for no good reason, but i bet you guys know..

I have commands /veh (Vehicle menu)

How can i protect it than only admins can use it??
Reply
#6

Quote:
Originally Posted by kemppis_
Посмотреть сообщение
I'm not gonna make new topic for no good reason, but i bet you guys know..

I have commands /veh (Vehicle menu)

How can i protect it than only admins can use it??
maybe you should use isplayeradmin function, idk, you have to make a new topic
Reply
#7

pawn Код:
if(!IsPlayerAdmin(playerid) return SendClientMessage(playerid, COLOR, "You're not admin -_-");
//Put the rest of the code here
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)