Skip to content

Commit

Permalink
PLAYER_VARTYPE_
Browse files Browse the repository at this point in the history
  • Loading branch information
Y_Less committed Sep 4, 2022
1 parent ae3989f commit c2c58d0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,15 +205,15 @@ It could take a lot of testing and debugging to find the problem here without a
```pawn
switch (GetPVarType(playerid, "MY_DATA"))
{
case VARTYPE_NONE:
case PLAYER_VARTYPE_NONE:
printf("Unknown type");
case VARTYPE_INT:
case PLAYER_VARTYPE_INT:
printf("Found an int");
case VARTYPE_STRING:
case PLAYER_VARTYPE_STRING:
printf("Found a float");
case VARTYPE_FLOAT:
case PLAYER_VARTYPE_FLOAT:
printf("Found a string");
case VARTYPE_BOOL:
case PLAYER_VARTYPE_BOOL:
printf("Found a boolean");
}
```
Expand Down

0 comments on commit c2c58d0

Please sign in to comment.