Help fast, Don't ignore this please (+REP for helping) -
MarkNelson - 11.07.2016
hi i got this errors today and i can't fix them, So help me please
Код:
C:\Users\infogenie\Desktop\Addictive Trainers 2.5.4\filterscripts\Untitled.pwn(303) : warning 203: symbol is never used: "PickedClass"
C:\Users\infogenie\Desktop\Addictive Trainers 2.5.4\filterscripts\Untitled.pwn(303) : warning 203: symbol is never used: "gPlayerClass"
C:\Users\infogenie\Desktop\Addictive Trainers 2.5.4\filterscripts\Untitled.pwn(303) : warning 203: symbol is never used: "gTeam"
i will show you the line :
Код:
CMD:snipertdm(playerid, params[])
{
SetPlayerHealth(playerid, 99999.0);
ResetPlayerWeapons(playerid);
SendClientMessage(playerid, COLOR_AQUA, "You have anti-spawn kill protection for 5 seconds.");
SetTimerEx("EndAntiSpawnKill", 5000, false, "i", playerid);
SetPlayerVirtualWorld(playerid, 0);
switch( GetPlayerTeam( playerid ) )
{
case TEAM_FARMERS:
{
SendClientMessage( playerid, COLOR_GREEN, "You are now playing in the Farmers Team." );
label7[playerid] = Create3DTextLabel("FARMERS TEAM PLAYER",TEAM_FARMERS, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label7[playerid], playerid, 0.0, 0.0, 0.4);
}
case TEAM_ALIENS:
{
SendClientMessage( playerid, COLOR_AQUA, "You are now playing in the Aliens Team." );
label7[playerid] = Create3DTextLabel("ALIENS TEAM PLAYER",TEAM_ALIENS, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label7[playerid], playerid, 0.0, 0.0, 0.4);
}
}
return true;
}
the line error is the final bracket. under "return true;"
HELP please
Re: Help fast, Don't ignore this please (+REP for helping) - Quinncell - 11.07.2016
Wong code I am guessing.Anyways thats just a warning not an error, but it means you defined them but never used them.Just delete them.
Re: Help fast, Don't ignore this please (+REP for helping) -
Dejan12345 - 11.07.2016
@KeithCooper i agree
Re: Help fast, Don't ignore this please (+REP for helping) -
MarkNelson - 11.07.2016
ok guys listen. i want team death match CMD.
When you type it you find your self in TDM but.
i need classes. i mean when someone the CMD. he find a dialog will show him two teams and he must select then teleported.
I don't know how but can someone of you guys show me simple example of it.
?
don't be lazy please
because i tried and checked and no results
Re: Help fast, Don't ignore this please (+REP for helping) - Quinncell - 11.07.2016
Try searching it on this forum.I am surr there is an exaple of what you're looking for.
Re: Help fast, Don't ignore this please (+REP for helping) -
MarkNelson - 11.07.2016
i didn't find here.
Help me please. comeon man.
Re: Help fast, Don't ignore this please (+REP for helping) -
minijackc - 11.07.2016
https://sampwiki.blast.hk/wiki/ShowPlayerDialog
Use Switch or if statements, Make classes for each opposing team
Use your brain.
Dont be lazy please.
Re: Help fast, Don't ignore this please (+REP for helping) - Quinncell - 11.07.2016
Quote:
Originally Posted by MarkNelson
i didn't find here.
Help me please. comeon man.
|
Can you explain a bit better?
I cannot understand you in what you need.
Re: Help fast, Don't ignore this please (+REP for helping) -
MarkNelson - 11.07.2016
Okay listen.
i want make TDM Command.
When someone type it, he will find a dialog and in this dialog there are two letters. Shows two teams.
If you selected a team from that dialog you will be teleported to the TDM map.
Re: Help fast, Don't ignore this please (+REP for helping) -
Dejan12345 - 11.07.2016
dont worry if you destroy gTeam or other you will have it in game