SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

 
 
Thread Tools Display Modes
Old 23/03/2009, 07:15 PM   #1
CAMERON_BANFIELD
Big Clucker
 
Join Date: Jun 2008
Posts: 145
Reputation: 0
Default Rcon Admin Score :P

Hi, i have this code to show if the admin is a proper one. it sets the score to 1337 and it goes in the on player connect. but i get error please tell me what is wrong thanks
Code:
 if(IsPlayerAdmin(playerid)
SetPlayerScore(playerid, 1337);
Code:
C:\Documents and Settings\Cameron Banfield\Desktop\Jack.pwn(2453) : error 001: expected token: ")", but found "-identifier-"
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
CAMERON_BANFIELD is offline  
Old 23/03/2009, 07:16 PM   #2
tom_jonez
Huge Clucker
 
Join Date: Dec 2007
Posts: 219
Reputation: 0
Default Re: Rcon Admin Score :P

Code:
 if(IsPlayerAdmin(playerid))
{
SetPlayerScore(playerid, 1337);
}
tom_jonez is offline  
Old 23/03/2009, 07:22 PM   #3
CAMERON_BANFIELD
Big Clucker
 
Join Date: Jun 2008
Posts: 145
Reputation: 0
Default Re: Rcon Admin Score :P

ty
CAMERON_BANFIELD is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RCON Admin Banned? SampFreak09 Client Support 2 26/03/2013 12:43 PM
Admin filterscript that saves score? JoeDaDude Help Archive 5 31/12/2009 12:37 PM
Admin fs that saves score and money JoeDaDude Help Archive 4 23/12/2009 11:07 AM
i need car only rcon or admin can use matdav Help Archive 10 30/11/2009 09:21 PM
Admin script that saves score JoeDaDude Help Archive 0 17/06/2009 02:30 PM


All times are GMT. The time now is 06:51 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.