Posts: 110
Threads: 10
Joined: Jun 2011
PLZ HELP ME HOW TO MAKE THIS FUNCTION
Код:
GetPlayerscore playerid < 30
if player have 30 score then setplayerpos x y z
else if u dont have
Posts: 110
Threads: 10
Joined: Jun 2011
16.06.2011, 16:03
(
Последний раз редактировалось Iphone1234g; 16.06.2011 в 16:05.
Причина: some diatils
)
i want to use it for A DIALOG MENU when player click on first option then if he have 30 then set his pos plz give me code for cases like
PLZZZZ CHECK THIS AND ADD HERE COZ MY MIND IS HEAT IN CASE MAKING MAPS SO PLZ HELP
Quote:
if(dialogid == 1)
{
switch(listitem) {
case 0:
{
SetPlayerPos(playerid,3456.1189,151.0336,3.1196);
}
case 1:
{
SetPlayerPos(playerid,-45.8298,3294.0808,4.1612);
}
case 2:
{
SetPlayerPos(playerid,2030.2235,-2447.2937,13.9739);
}
case 3:
{
SetPlayerPos(playerid,2030.2235,-2447.2937,13.9739);
}
|
Posts: 110
Threads: 10
Joined: Jun 2011
plz any one help how i can use this in cases like this getplayerstats oldstats and etc and then use it in cases plzzzzzzz
(