SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 02/09/2014, 10:16 PM   #11
nightday
Banned
 
Join Date: Aug 2013
Posts: 109
Reputation: 5
Default Re: Help

Errors
PHP Code:
C:\Documents and Settings\NightDay\Desktop\samp03z_svr_R1_win32\gamemodes\grandlarc.pwn(753) : warning 203symbol is never used"SetPlayerTeamFromClass"
Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase


1 Warning


[/quote]
this line errors
PHP Code:
SetPlayerTeamFromClass(playeridclassid)
{
    switch (
classid)
    {
        case 
01gTeam[playerid] = POLICE;
        case 
23gTeam[playerid] = CIVILIAN;
    }

nightday is offline   Reply With Quote
Old 02/09/2014, 10:18 PM   #12
nightday
Banned
 
Join Date: Aug 2013
Posts: 109
Reputation: 5
Default Re: Help

and i done make the name police and clivins see
Quote:
AddPlayerClass(266,2303.9497,2439.0103,3.2734,19.1 234,3,1,22,50,29,500); // Police
AddPlayerClass(211,2303.9497,2439.0103,3.2734,19.1 234,3,1,22,50,29,500); // Police
AddPlayerClass(265,2303.9497,2439.0103,3.2734,19.1 234,3,1,22,50,29,500); // Police
AddPlayerClass(267,2303.9497,2439.0103,3.2734,19.1 234,3,1,22,50,29,500); // Police
AddPlayerClass(283,2303.9497,2439.0103,3.2734,19.1 234,3,1,22,50,29,500); // Police
AddPlayerClass(284,2303.9497,2439.0103,3.2734,19.1 234,3,1,22,50,29,500); // Police
AddPlayerClass(285,2303.9497,2439.0103,3.2734,19.1 234,3,1,22,50,29,500); // Police
AddPlayerClass(71,-1261.6409,38.9104,14.1387,226.4688,3,1,22,50,29,50 0); // Police
AddPlayerClass(276,1624.2527,1821.0498,10.8203,5.6 779,22,50,0,0,0,0); // medic 2
AddPlayerClass(50,2006.1929,2295.9451,10.8203,177. 4306,22,50,0,0,0,0); // Civilian
AddPlayerClass(133,1151.7200,1399.4144,5.8203,0.90 30,22,50,0,0,0,0); // Civilian
AddPlayerClass(151,1151.7200,1399.4144,5.8203,0.90 30,22,50,0,0,0,0); // Civilian
AddPlayerClass(12,2090.1008,2078.2600,10.8203,263. 0699,0,0,0,0,0,0);// Civilian
AddPlayerClass(23,2090.1008,2078.2600,10.8203,263. 0699,0,0,0,0,0,0);// Civilian
AddPlayerClass(29,2815.0498,2254.1252,10.8203,158. 6954,0,0,0,0,0,0); // Civilian
AddPlayerClass(294,2814.0542,2253.4043,10.8203,315 .9051,0,0,0,0,0,0); // Civilian
AddPlayerClass(214,2812.1963,2247.7256,10.8203,352 .8735,0,0,0,0,0,0); // Civilian
AddPlayerClass(1,2634.0793,1072.6293,10.8203,88.40 12,0,0,0,0,0,0);// Civilian
AddPlayerClass(15,2634.0793,1072.6293,10.8203,88.4 012,0,0,0,0,0,0);// Civilian
AddPlayerClass(34,2634.0793,1072.6293,10.8203,88.4 012,0,0,0,0,0,0);// Civilian
AddPlayerClass(2,2193.6528,2007.7402,12.2894,1.857 4,0,0,0,0,0,0);// Civilian
AddPlayerClass(9,2193.6528,2007.7402,12.2894,1.857 4,0,0,0,0,0,0); // Civilian
AddPlayerClass(19,2193.6528,2007.7402,12.2894,1.85 74,0,0,0,0,0,0);// Civilian
AddPlayerClass(22,2193.6528,2007.7402,12.2894,1.85 74,0,0,0,0,0,0);// Civilian
AddPlayerClass(26,2082.0784,2480.8333,10.8203,182. 0390,0,0,0,0,0,0);// Civilian
AddPlayerClass(31,2082.0784,2480.8333,10.8203,182. 0390,0,0,0,0,0,0);// Civilian
AddPlayerClass(45,2082.0784,2480.8333,10.8203,182. 0390,0,0,0,0,0,0);// Civilian
AddPlayerClass(46,2082.0784,2480.8333,10.8203,182. 0390,0,0,0,0,0,0);// Civilian
AddPlayerClass(9,2193.7366,2007.4865,12.2894,358.2 378,0,0,0,0,0,0); // Civilian
AddPlayerClass(13,2193.7366,2007.4865,12.2894,358. 2378,0,0,0,0,0,0); // Civilian
AddPlayerClass(14,2193.7366,2007.4865,12.2894,358. 2378,0,0,0,0,0,0); // Civilian
AddPlayerClass(24,2193.7366,2007.4865,12.2894,358. 2378,0,0,0,0,0,0); // Civilian
AddPlayerClass(33,2193.7366,2007.4865,12.2894,358. 2378,0,0,0,0,0,0); // Civilian
AddPlayerClass(36,2193.7366,2007.4865,12.2894,358. 2378,0,0,0,0,0,0); // Civilian
AddPlayerClass(38,2193.7366,2007.4865,12.2894,358. 2378,0,0,0,0,0,0); // Civilian
AddPlayerClass(160,2193.7366,2007.4865,12.2894,358 .2378,0,0,0,0,0,0); // Civilian
AddPlayerClass(82,2193.7366,2007.4865,12.2894,358. 2378,0,0,0,0,0,0); // Civilian
AddPlayerClass(107,2193.7366,2007.4865,12.2894,358 .2378,0,0,0,0,0,0); // Civilian
AddPlayerClass(59,2193.7366,2007.4865,12.2894,358. 2378,0,0,0,0,0,0); // Civilian
AddPlayerClass(127,2193.7366,2007.4865,12.2894,358 .2378,0,0,0,0,0,0); // Civilian
AddPlayerClass(128,2193.7366,2007.4865,12.2894,358 .2378,0,0,0,0,0,0); // Civilian
AddPlayerClass(138,2193.7366,2007.4865,12.2894,358 .2378,0,0,0,0,0,0); // Civilian
AddPlayerClass(28,2193.7366,2007.4865,12.2894,358. 2378,0,0,0,0,0,0); // Civilian
AddPlayerClass(147,2193.7366,2007.4865,12.2894,358 .2378,0,0,0,0,0,0); // Civilian
AddPlayerClass(299,2193.7366,2007.4865,12.2894,358 .2378,0,0,0,0,0,0); // Civilian
AddPlayerClass(123,2193.7366,2007.4865,12.2894,358 .2378,0,0,0,0,0,0); // Civilian
AddPlayerClass(204,2193.7366,2007.4865,12.2894,358 .2378,0,0,0,0,0,0); // Civilian
AddPlayerClass(249,2193.7366,2007.4865,12.2894,358 .2378,15,1,15,500,28,500); // Civilian
AddPlayerClass(264,2193.7366,2007.4865,12.2894,358 .2378,0,0,0,0,0,0); // Civilian
AddPlayerClass(269,2193.7366,2007.4865,12.2894,358 .2378,0,0,0,0,0,0); // Civilian
AddPlayerClass(270,2193.7366,2007.4865,12.2894,358 .2378,0,0,0,0,0,0); // Civilian
AddPlayerClass(293,2193.5884,2007.4149,12.2894,355 .9373,0,0,0,0,0,0); // Civilian
AddPlayerClass(271,2193.7366,2007.4865,12.2894,358 .2378,0,0,0,0,0,0); // Civilian
AddPlayerClass(298,2193.5884,2007.4149,12.2894,355 .9373,0,0,0,0,0,0); // Civilian
AddPlayerClass(137,2193.5884,2007.4149,12.2894,355 .9373,0,0,0,0,0,0); // Civilian
nightday is offline   Reply With Quote
Old 02/09/2014, 10:47 PM   #13
Mzake
Big Clucker
 
Mzake's Avatar
 
Join Date: Aug 2013
Location: Beside my friend's house
Posts: 131
Reputation: 10
Default Re: Help

Sorry bro but i got same warning, i feel sorry for you !! Hope u find a fix :/ listen ty to ask at that tutorial section or see replies...
__________________
Mzake is offline   Reply With Quote
Old 02/09/2014, 10:48 PM   #14
nightday
Banned
 
Join Date: Aug 2013
Posts: 109
Reputation: 5
Default Re: Help

and i defince this
Quote:
new gTeam[MAX_PLAYERS];

#define POLICE 1
#define Clivins 2

#define POLICE_COLOUR 0x003DF5AA
#define Clivins_COLOUR 0xFFFFFFF
why i get this erriors
Quote:
C:\Documents and Settings\NightDay\Desktop\samp03z_svr_R1_win32\gam emodes\grandlarc.pwn(753) : warning 203: symbol is never used: "SetPlayerTeamFromClass"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Warning.
nightday is offline   Reply With Quote
Old 03/09/2014, 07:57 AM   #15
nightday
Banned
 
Join Date: Aug 2013
Posts: 109
Reputation: 5
Default Re: Help

help please why i get this errors
nightday is offline   Reply With Quote
Old 03/09/2014, 08:43 AM   #16
Stinged
High-roller
 
Join Date: Feb 2013
Posts: 1,571
Reputation: 187
Default Re: Help

Did you follow the tutorial?
The warning clearly says "Symbol is never used"
Stinged is offline   Reply With Quote
Old 03/09/2014, 09:25 AM   #17
nightday
Banned
 
Join Date: Aug 2013
Posts: 109
Reputation: 5
Default Re: Help

what
nightday is offline   Reply With Quote
Old 03/09/2014, 09:32 AM   #18
Stinged
High-roller
 
Join Date: Feb 2013
Posts: 1,571
Reputation: 187
Default Re: Help

>_>

Mzake gave you a tutorial to follow...
Stinged is offline   Reply With Quote
Old 03/09/2014, 09:58 AM   #19
nightday
Banned
 
Join Date: Aug 2013
Posts: 109
Reputation: 5
Default Re: Help

i follow the tutorial and i get errors lol
nightday is offline   Reply With Quote
Old 03/09/2014, 10:54 AM   #20
nightday
Banned
 
Join Date: Aug 2013
Posts: 109
Reputation: 5
Default Re: Help

any one help
nightday is offline   Reply With Quote
Reply

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



All times are GMT. The time now is 11:54 AM.


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