Author Topic: [Solved]Error Comming !  (Read 4934 times)

0 Members and 1 Guest are viewing this topic.

Offline Innocent Heart

  • Wiseguy
  • **
  • Posts: 51
  • Crime Investigation Department Owner
    • View Profile
    • Crime Investigaton Department
[Solved]Error Comming !
« on: March 08, 2012, 05:09:20 pm »
Hi Guyz .
I Put
These Functions in my CID-Scripts (Based on Gups)
Under "OnPlayerDisConnect" .
[pawn]public OnPlayerEnterVehicle(playerid,vehicleid,ispassenger)
{
       SendClientMessage(playerid,COLOR_GREEN,"Starting Vehicle Engine!");
      }
   return 1;
}

public OnPlayerExitVehicle(playerid, vehicleid)
{
   return 1;[/pawn]
I Compiled and Then this Error Came SO what i do ?
Quote
E:\NOORAN~1\CID.pwn(134) : warning 201: redefinition of constant/macro (symbol "pInfo")
E:\NOORAN~1\CID.pwn(310) : error 010: invalid function or declaration
E:\NOORAN~1\CID.pwn(812) : warning 204: symbol is assigned a value that is never used: "szMsg"
E:\NOORAN~1\CID.pwn(825) : warning 219: local variable "str" shadows a variable at a preceding level
E:\NOORAN~1\CID.pwn(850) : warning 219: local variable "str" shadows a variable at a preceding level
E:\NOORAN~1\CID.pwn(1805) : warning 202: number of arguments does not match definition
E:\NOORAN~1\CID.pwn(2147) : warning 204: symbol is assigned a value that is never used: "hp"
E:\NOORAN~1\CID.pwn(2449) : warning 219: local variable "szMsg" shadows a variable at a preceding level
E:\NOORAN~1\CID.pwn(2469) : warning 204: symbol is assigned a value that is never used: "hp"
E:\NOORAN~1\CID.pwn(2498) : warning 202: number of arguments does not match definition
E:\NOORAN~1\CID.pwn(2755) : warning 219: local variable "szMsg" shadows a variable at a preceding level
E:\NOORAN~1\CID.pwn(2806) : warning 203: symbol is never used: "Drunk"
E:\NOORAN~1\CID.pwn(2813) : warning 202: number of arguments does not match definition
E:\NOORAN~1\CID.pwn(2817) : warning 203: symbol is never used: "Drunk"
E:\NOORAN~1\CID.pwn(3057) : warning 202: number of arguments does not match definition
E:\NOORAN~1\CID.pwn(3066) : warning 202: number of arguments does not match definition
E:\NOORAN~1\CID.pwn(3075) : warning 202: number of arguments does not match definition
E:\NOORAN~1\CID.pwn(3084) : warning 202: number of arguments does not match definition
E:\NOORAN~1\CID.pwn(3188) : warning 202: number of arguments does not match definition
E:\NOORAN~1\CID.pwn(3234) : warning 219: local variable "szMsg" shadows a variable at a preceding level
E:\NOORAN~1\CID.pwn(3242) : warning 202: number of arguments does not match definition
E:\NOORAN~1\CID.pwn(3532) : warning 219: local variable "szMsg" shadows a variable at a preceding level
E:\NOORAN~1\CID.pwn(3532) : warning 219: local variable "x" shadows a variable at a preceding level
E:\NOORAN~1\CID.pwn(3532) : warning 219: local variable "y" shadows a variable at a preceding level
E:\NOORAN~1\CID.pwn(3532) : warning 219: local variable "z" shadows a variable at a preceding level
E:\NOORAN~1\CID.pwn(3551) : warning 219: local variable "szMsg" shadows a variable at a preceding level
E:\NOORAN~1\CID.pwn(3962) : warning 219: local variable "tmp" shadows a variable at a preceding level
E:\NOORAN~1\CID.pwn(4248) : warning 204: symbol is assigned a value that is never used: "vehicle"
E:\NOORAN~1\CID.pwn(5503) : warning 203: symbol is never used: "Wanted"
Pawn compiler 3.0.3367         Copyright (c) 1997-2005, ITB CompuPhase


1 Error.
So What i Do tell me ?
« Last Edit: March 09, 2012, 05:26:59 am by Innocent Heart »
Conatact Information :
Facebook:-www.facebook.com/dashingjaff
Youtube:-www.youtube.com/NooranScripter

====>My Server Info  < ========
ServerName :- CID-Server
Server Clan :- [D.R] Dakriders
Server Forum :- www.CidServer.tk
Clan Forum :-www.Drgang.tk
=====> DarkRiders Group <=====

Pm Me If U want To be Pro In Scripting !
Those Who Banned my Ip and My Freind's Ip They Are Big Fuckers...!

Offline heekz.shadow

  • LU testers
  • Made Man
  • *
  • Posts: 249
    • View Profile
Re: ErrOr Cumming !
« Reply #1 on: March 08, 2012, 06:18:55 pm »
Don't put any } before returns if you start with one single {

[pawn]public OnPlayerEnterVehicle(playerid,vehicleid,ispassenger)
{
       SendClientMessage(playerid,COLOR_GREEN,"Starting Vehicle Engine!");
   return 1;
}[/pawn]
Code: [Select]
[20:23] <habi> later only i heard that lu chatbox is customizable. On my first visit, it appeared ugly.
[20:23] <habi> May be that also be the reason why lu has no players

Offline Innocent Heart

  • Wiseguy
  • **
  • Posts: 51
  • Crime Investigation Department Owner
    • View Profile
    • Crime Investigaton Department
Re: ErrOr Cumming !
« Reply #2 on: March 08, 2012, 07:20:51 pm »
Don't put any } before returns if you start with one single {

[pawn]public OnPlayerEnterVehicle(playerid,vehicleid,ispassenger)
{
       SendClientMessage(playerid,COLOR_GREEN,"Starting Vehicle Engine!");
   return 1;
}[/pawn]
ok Thank You For your Help .
Conatact Information :
Facebook:-www.facebook.com/dashingjaff
Youtube:-www.youtube.com/NooranScripter

====>My Server Info  < ========
ServerName :- CID-Server
Server Clan :- [D.R] Dakriders
Server Forum :- www.CidServer.tk
Clan Forum :-www.Drgang.tk
=====> DarkRiders Group <=====

Pm Me If U want To be Pro In Scripting !
Those Who Banned my Ip and My Freind's Ip They Are Big Fuckers...!

Offline Force

  • LU Developer
  • Made Man
  • *
  • Posts: 242
    • View Profile
Re: ErrOr Cumming !
« Reply #3 on: March 08, 2012, 07:36:08 pm »
Also if your having trouble "cumming" you should probably go see a doctor...

Offline heekz.shadow

  • LU testers
  • Made Man
  • *
  • Posts: 249
    • View Profile
Re: ErrOr Cumming !
« Reply #4 on: March 08, 2012, 07:39:10 pm »
I also lold at the topic title, nice point-out Force :)
Code: [Select]
[20:23] <habi> later only i heard that lu chatbox is customizable. On my first visit, it appeared ugly.
[20:23] <habi> May be that also be the reason why lu has no players

Offline GTA-Roloboy

  • Made Man
  • ***
  • Posts: 135
    • View Profile
Re: ErrOr Cumming !
« Reply #5 on: March 08, 2012, 07:42:34 pm »
hEy Innocent Heart i Am haAving TrouBle ReADinG lIke ThIS mAYbe iF YOu tYpE nORmaLLY I cOUlD aCtUAlly ReAd What YoU ARe TrYIng To sAy

Offline Innocent Heart

  • Wiseguy
  • **
  • Posts: 51
  • Crime Investigation Department Owner
    • View Profile
    • Crime Investigaton Department
Re: ErrOr Cumming !
« Reply #6 on: March 09, 2012, 05:24:13 am »
hEy Innocent Heart i Am haAving TrouBle ReADinG lIke ThIS mAYbe iF YOu tYpE nORmaLLY I cOUlD aCtUAlly ReAd What YoU ARe TrYIng To sAy
Sorry Now i will Right Properly. And Topic Solved.
Conatact Information :
Facebook:-www.facebook.com/dashingjaff
Youtube:-www.youtube.com/NooranScripter

====>My Server Info  < ========
ServerName :- CID-Server
Server Clan :- [D.R] Dakriders
Server Forum :- www.CidServer.tk
Clan Forum :-www.Drgang.tk
=====> DarkRiders Group <=====

Pm Me If U want To be Pro In Scripting !
Those Who Banned my Ip and My Freind's Ip They Are Big Fuckers...!