SA-MP Forums

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

 
 
Thread Tools Display Modes
Old 12/12/2010, 03:31 PM   #1
Justas888
Little Clucker
 
Join Date: Jan 2010
Posts: 30
Reputation: 0
Default ZCMD

I using ZCMD plugin with sscfan

error is

C:\Users\Justas\Downloads\Mano\GRP pats geriausias\gamemodes\GRP4.pwn(3051) : error 029: invalid expression, assumed zero
C:\Users\Justas\Downloads\Mano\GRP pats geriausias\gamemodes\GRP4.pwn(3051) : error 017: undefined symbol "cmd_skamb"
C:\Users\Justas\Downloads\Mano\GRP pats geriausias\gamemodes\GRP4.pwn(3051) : error 029: invalid expression, assumed zero
C:\Users\Justas\Downloads\Mano\GRP pats geriausias\gamemodes\GRP4.pwn(3051) : fatal error 107: too many error messages on one line

Please help me.
Justas888 is offline  
Old 12/12/2010, 03:35 PM   #2
blackwave
Gangsta
 
Join Date: Oct 2010
Location: Fortaleza, Brazil
Posts: 999
Reputation: 7
Default Re: ZCMD

Post the code? -.-..
__________________






My youtube user: Click here
blackwave is offline  
Old 12/12/2010, 03:38 PM   #3
Justas888
Little Clucker
 
Join Date: Jan 2010
Posts: 30
Reputation: 0
Default Re: ZCMD

COMMANDkamb( playerid, params[ ] )
{
new
number;
if ( sscanf( params, "d", number ) ) SendClientMessage ( playerid,COLOR, "/skambinti [telefono numeris]" );

new tname[MAX_PLAYER_NAME];



if (GetPlayerState(playerid) == PLAYER_STATE_ONFOOT && GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_NONE)
{
SendClientMessage(playerid,COLOR,"* Kai beigsite rageli padekite su ( /bai ).");
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USE CELLPHONE);
}


if(playerDB[playerid][mobsas] < 4)
{
SendClientMessage(playerid,COLOR,"* Jums nepakanka saskaitos: rasykite sms: /sms necrotel info");
return 1;
}

if(!numeriaiyra[number][number])
{
SendClientMessage(playerid, COLOR, "* Operatorius: Tokio numerio nera.");
return 1;
}

if(numeriaiyra[playerid][number])
{
SendClientMessage(playerid, COLOR, "* Operatorius: Linija uzmita.");
return 1;
}

GetPlayerName(number,tname,sizeof(tname));

if(playerDB[number][skambutis] !=-1)
{
SendClientMessage(playerid, COLOR, "* Operatorius: Linija uzimta.");
return 1;
}

new msg[128],name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,sizeof(name));
format(msg,sizeof(msg),"* Jums skambina %d numeris. Galite atsiliepti ( /ans ) arba atmesti ( /den ).",numeriaiyra[playerid][number]);
SendClientMessage(number,COLOR,msg);
format(msg,sizeof(msg),"* Skambinate %d numeriui...",numeriaiyra[number][number]);
SendClientMessage(playerid,COLOR,msg);
playerDB[playerid][skambutis]=kiek;
playerDB[number][rid][5]=playerid;
return 1;
}
Justas888 is offline  
Old 12/12/2010, 03:40 PM   #4
Gh0sT_
Gangsta
 
Join Date: Sep 2010
Location: Lithuania, Alytus
Posts: 776
Reputation: 0
Default Re: ZCMD

Justynas tu? DD
__________________
Includes
Player/Vehicle Control
Entrances system
Gh0sT_ is offline  
Old 12/12/2010, 03:44 PM   #5
Justas888
Little Clucker
 
Join Date: Jan 2010
Posts: 30
Reputation: 0
Default Re: ZCMD

Ne, kas tu toks ?
Justas888 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
zcmd! helP! [MKD]Max Help Archive 1 17/11/2010 02:38 PM
ZCMD. Gh0sT_ Help Archive 2 24/10/2010 03:16 AM
Help with zcmd. Bumbis Help Archive 5 01/08/2010 02:47 PM
ZCMD again... GaGlets(R) Help Archive 6 14/07/2010 02:58 PM
Just a little help with ZCMD pagie1111 Help Archive 7 28/12/2009 09:41 AM


All times are GMT. The time now is 12:26 PM.


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